LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-10-2008, 03:19 PM   #1
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
Problem with aptitude safe-upgrade


I have tried several times over the last week to do aptitude upgrade but get the following every time:

Quote:
# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages have unmet dependencies:
locales: Depends: glibc-2.7-1 which is a virtual package.
The attempt then fails and returns to the prompt. The same happens if I try to install anything.

Does anyone know what is happening here and what I can do about it?
 
Old 01-10-2008, 03:43 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What does your /etc/apt/sources.list look like?

And since glibc-2.7-1 is a virtual package, I believe you can remove it with no problems (though I'd simulate it first and make sure it doesn't remove the actual glibc...)
 
Old 01-10-2008, 04:07 PM   #3
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
My /etc/apt/sources.list:

Quote:
# deb file:///cdrom/ sarge main

deb http://ftp.uk.debian.org/debian/ testing main
deb-src http://ftp.uk.debian.org/debian/ testing main

deb http://security.debian.org/ testing/updates main

#deb http://download.videolan.org/pub/videolan/debian/ unstable main
#deb-src http://download.videolan.org/pub/videolan/debian/ unstable main

deb http://www.debian-multimedia.org lenny main


# deb http://http.us.debian.org/debian/ testing main
I don't appear to have glibc installed!

Quote:
aptitude search glibc
v glibc-2.6-1 -
v glibc-2.7-1 -
p glibc-doc - GNU C Library: Documentation
v glibc-pic
 
Old 01-10-2008, 04:14 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Sorry, I'm not very well versed in the output of aptitude search. What are the letters on the left? I sort of assume "p" meant "purged", but I don't know what "v" would stand for...
 
Old 01-10-2008, 05:11 PM   #5
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
A "v" indicates a virtual package.
An installed package would have an "i" to the left of the entry.

Anyway I've just solved the problem. I did aptitude search on "locales" and got a "B" to the left of the "locales" entry in the resulting list of packages. I think this means broken, so I did "aptitude install locales". The result was that glibc was installed as a dependency. I have now done "aptitude safe-upgrade" and all went well.

However, I have no idea why I appear to have lost glibc in the first place.

Thanks for your assistance,

Mikie
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Safe to marry aptitude and apt-get? aquaboot Linux - General 6 11-28-2007 09:34 AM
aptitude upgrade and kernel security mikieboy Debian 4 06-23-2006 11:41 AM
Aptitude bombs when trying to upgrade coralsaw Debian 3 06-06-2006 10:48 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
no IP address after aptitude upgrade of packages, dhcp gone pearman Debian 2 10-25-2005 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration