FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-19-2012, 08:58 AM
Bonno Bloksma
 
Default apt-get will upgrade aptitude will not

Hi,

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.

# 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
 
Old 03-19-2012, 10:11 AM
Rares Aioanei
 
Default 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

Archive: 4F67144B.6020101@gmail.com">http://lists.debian.org/4F67144B.6020101@gmail.com
 
Old 03-19-2012, 10:15 AM
Camaleón
 
Default apt-get will upgrade aptitude will not

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
 
Old 03-19-2012, 11:10 AM
Jochen Spieker
 
Default apt-get will upgrade aptitude will not

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.

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>
 
Old 03-19-2012, 11:20 AM
Lisi
 
Default 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
 

Thread Tools




All times are GMT. The time now is 06:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org