# aptitude show mysql-common
Package: mysql-common
State: installed
Automatically installed: no
Version: 5.1.49-3
Priority: optional
Section: database
[....]
However, now apt-get wants to install an update but aptitude will not.
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
mysql-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 69.6 kB of archives.
After this operation, 57.3 kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
# aptitude upgrade
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
What gives? The same is happening when I use aptitude safe-upgrade, as it should I suppose. ;-)
Of course I can simply use apt-get but I also want to understand what is going on.
Bonno Bloksma
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 89D1798A7351D040B4E74E0A043C69D701073AF5@HGLEXCH-01.tio.nl">http://lists.debian.org/89D1798A7351D040B4E74E0A043C69D701073AF5@HGLEXCH-01.tio.nl
03-19-2012, 10:11 AM
Rares Aioanei
apt-get will upgrade aptitude will not
On 03/19/2012 11:58 AM, Bonno Bloksma wrote:
Hi,
On 2 of my machines I have mysql-common installed
[...]
As we don't know what kind of setup you're having (stable, bpo, testing,
unstable...), it's hard to tell what's up. How about aptitude dist-upgrade?
--
Rares Aioanei
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
On Mon, 19 Mar 2012 09:58:12 +0000, Bonno Bloksma wrote:
> On 2 of my machines I have mysql-common installed
>
> # aptitude show mysql-common
> Package: mysql-common
> State: installed
> Automatically installed: no
> Version: 5.1.49-3
> Priority: optional
> Section: database
> [....]
>
> However, now apt-get wants to install an update but aptitude will not.
(...)
Did you first update the packages database?
apt-get update
aptitude update
Then, I would try to make them more verbose:
apt-get -V upgrade
aptitude -vvv upgrade
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jk74gd$6c2$5@dough.gmane.org">http://lists.debian.org/jk74gd$6c2$5@dough.gmane.org
Is this a squeeze system? -Then you should make sure you have
security.debian.org in your sources.list. The current version from s.d.o
is 5.1.61-0+squeeze1.
You may want to post the output of 'apt-cache policy'.
>> However, now apt-get wants to install an update but aptitude will not.
aptitude why-not mysql-common
> Did you first update the packages database?
>
> apt-get update
> aptitude update
apt-get and aptitude both use the same package database. Running the
'udpate' for both of them is not required.
What's still separated, AFAIK, is the 'hold' mechanism. Bonno, you could
try 'aptitude unhold mysql-common' and see whether aptitude wants to
upgrade now.
J.
--
I wish I could achieve a 'just stepped out of the salon' look more
often. Or at least once.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
03-19-2012, 11:20 AM
Lisi
apt-get will upgrade aptitude will not
On Monday 19 March 2012 12:10:07 Jochen Spieker wrote:
> Camaleón:
> > On Mon, 19 Mar 2012 09:58:12 +0000, Bonno Bloksma wrote:
> >> Version: 5.1.49-3
> >> Priority: optional
> >> Section: database
> >> [....]
>
> Is this a squeeze system? -Then you should make sure you have
> security.debian.org in your sources.list. The current version from s.d.o
> is 5.1.61-0+squeeze1.
>
> You may want to post the output of 'apt-cache policy'.
>
> >> However, now apt-get wants to install an update but aptitude will not.
>
> aptitude why-not mysql-common
>
> > Did you first update the packages database?
> >
> > apt-get update
> > aptitude update
>
> apt-get and aptitude both use the same package database. Running the
> 'udpate' for both of them is not required.
>
> What's still separated, AFAIK, is the 'hold' mechanism. Bonno, you could
> try 'aptitude unhold mysql-common' and see whether aptitude wants to
> upgrade now.
Surely it is worth following the earlier suggestion and doing an "aptitude
full-upgrade" before trying more complicated things?
Lisi
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201203191220.19465.lisi.reisz@gmail.com">http://lists.debian.org/201203191220.19465.lisi.reisz@gmail.com