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

Notices


Reply
  Search this Thread
Old 09-20-2006, 06:50 PM   #1
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
Apt-Get Issue


Can anybody explain why this is happening? I'm trying to update amaroK, but I get this:

Quote:
mako@Master:~$ sudo apt-get install amarok
Reading package lists... Done
Building dependency tree... Done
amarok is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
gamin: Depends: libc6 (>= 2.4-1) but 2.3.6-0ubuntu20 is to be installed
Depends: libglib2.0-0 (>= 2.12.0) but 2.10.3-0ubuntu1 is to be installed
Depends: libgamin0 (= 0.1.7-3ubuntu2) but 0.1.7-2ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
mako@Master:~$
So I run "apt-get -f install" and I get this:

Quote:
mako@Master:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
adept akregator amarok amarok-arts amarok-engines amarok-xine ark artsbuilder gamin gnomad2 gtk2-engines-gtk-qt
gwenview k3b k9copy kaddressbook kaffeine kaffeine-mozilla kaffeine-xine kamera karm katapult kate kaudiocreator
kcalc kcontrol kcron kde-guidance kde-style-lipstik kde-systemsettings kdeadmin-kfile-plugins kdebase-bin
kdebase-dev kdebase-kio-plugins kdebluetooth kdegraphics-kfile-plugins kdelibs-bin kdelibs4-dev kdelibs4c2a
kdemultimedia-kfile-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdenetwork-kfile-plugins kdepasswd
kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint kdesktop kdm kdnssd keep kfind kghostview
khelpcenter kicker kio-apt kio-locate klaptopdaemon klipper kmail kmailcvt kmenuedit kmilo kmix kmplayer-base
kmplayer-konq-plugins knetworkconf knotes koffice-libs konq-plugins konqueror konqueror-nsplugins konsole
kontact konversation kooka kopete korganizer kpdf kpf kppp krdc krename krfb krita kscd kscreensaver ksmserver
ksnapshot ksplash ksplash-engine-moodin ksvg ksysguard ksystemlog ktorrent kubuntu-default-settings kubuntu-docs
kubuntu-konqueror-shortcuts kwalletmanager kwin kwin-style-crystal language-selector-qt libarts1-akode
libbonoboui2-0 libgamin-dev libgamin0 libgnome2-0 libgnomeui-0 libgnomevfs2-0 libk3b2 libk3b2-mp3 libkcal2b
libkcddb1 libkdepim1a libkipi0 libkleopatra1 libkmime2 libkonq4 libkpimexchange1 libkpimidentities1 libkscan1
libksieve0 libktnef1 libskim0 libswt3.1-gtk-java libswt3.1-gtk-jni openoffice.org-kde python-kde3
python2.4-gamin python2.4-kde3 skim wlassistant
0 upgraded, 0 newly installed, 132 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 380MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
mako@Master:~$
What the heck is going on?
 
Old 09-20-2006, 06:59 PM   #2
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
I'm sorry for your pain but I did break out laughing at the apt-get will uninstall message.

ROFL BTW

Anyway. According to your distro you do have the latest and greatest.

Is there a particular new feature you are looking for?

If so, I think you have to go to the amaroK site
and install from source.

Tools like apt-get don't just install the latest and greatest. That isn't always safe.

Best of luck
 
Old 09-20-2006, 07:24 PM   #3
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Well one of the reasons I was trying to upgrade amaroK is because with the current one I am using (1.3.9), my collection does not show up at all. I don't know what's going on with it. I've searched all over the net and cannot find any info or anybody who's had the same problem. But I've given up on that.

And do you have any idea on how to fix this apt-get problem? I can't install any new packages because of it.

Does the Kubuntu cd have a Recovery option where it goes in and repairs the installation?
 
Old 09-20-2006, 07:25 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
From the looks of it you are trying to install a single package from another repository using mixed sources, you either need to dist-upgrade to the newer release or just use the source from the new release and try to build amarok from source for your install.
 
Old 09-20-2006, 07:49 PM   #5
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
Hi,

HappyTux is right.

If you go to
http://amarok.kde.org/wiki/Download:Source

You will see a source option available for download.
In theory, you can build any version you want.

Perhaps your problems run deeper.
If you have lost a collection it may not be related to the
application's version information...

As for fixing the apt-get issue.
I think it is working properly....

My
 
Old 09-20-2006, 08:48 PM   #6
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
I can figure out the amaroK issue, but thanks for the suggestions.

My main problem is apt-get. Why is it wanting to remove all installed packages?
 
Old 09-20-2006, 08:58 PM   #7
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
It's trying to sync to the version(s) it thinks you want.

If you haven't done much customization, then...
it prolly won't hurt

The mixed-sources verdict seems correct.

I had troubles years back cause I had installed a retro gcc 7.1 compiler. <sigh>

The friendly install program practically toasted my system.

You were wise to back out

What about the Ubuntu update on the Top Panel?

My best guess is sync to Ubuntu first.

Best of luck
 
Old 09-20-2006, 09:01 PM   #8
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Alright wait. You're saying to go ahead with the -f install?

(sorry, im a little slow today)
 
Old 09-20-2006, 09:01 PM   #9
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by jonursenbach
I can figure out the amaroK issue, but thanks for the suggestions.

My main problem is apt-get. Why is it wanting to remove all installed packages?
I have already explained this, you are trying to use mixed sources in your /etc/apt/sources.list file and apt is trying to get the newer packages removing the old this line here shows you that.

Code:
gamin: Depends: libc6 (>= 2.4-1) but 2.3.6-0ubuntu20 is to be installed
That is a major upgrade to libc6 everything installed will have to be dist-upgraded to be able to use this package as they will have had to rebuild all the other packages against it in order for them to be installed using the new libc6.
 
Old 09-20-2006, 09:09 PM   #10
simen
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Etch
Posts: 15

Rep: Reputation: 0
You seem to be installing from a server that doesnīt provide all the dependencies for their packages. Why apt wants to make such an uninstall fest out of it, I couldnīt say. Is most of your system "pure" from your distroīs official repositories, or might you have some important software that conflicts with all these packages? If there are only a few packages causing trouble, itīs probably worth downgrading them or reinstalling with alien/checkinstall.

I think the problem would be clearer if you posted your /etc/apt/sources.list here.

A handy feature in apt for mixing official and cutting edge software is apt-pinning. It should work well on ubuntu, though I donīt know the details (how different repositories are related to each other). And too lazy to google. Note that Pin-Priorities over 1000 means apt will actually downgrade software to meet the userīs request(eg. from debian testing to debian stable).

Good luck,
--Simen
 
Old 09-20-2006, 09:21 PM   #11
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah I just realized the problem is that I need to downgrade those conflicting/broken packages, only I forgot how to do so via the command line.

I think it's "apt-get install packagename=versionnumber" right?

/etc/apt/sources.list
Quote:
deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe
deb http://us.archive.ubuntu.com/ubuntu/ dapper multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper multiverse
## Uncomment the following two lines to add software from the 'backports'
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
deb http://packages.freecontrib.org/ubuntu/plf/ dapper free non-freedeb http://archive.ubuntu.com/ubuntu dapper main
 
Old 09-20-2006, 09:44 PM   #12
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
That is correct for the apt command. Can you show us the output of apt-cache policy gamin and apt-cache policy libc6 maybe even apt-cache show gamin?
 
Old 09-20-2006, 09:54 PM   #13
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
I actually just downgraded Gamin to 0.1.7-2ubuntu1 and all of my problems (at least with apt-get) cleared up.

I'm going to try build amaroK in a little bit so that'll hopefully fix my collection woes.
 
Old 09-20-2006, 10:17 PM   #14
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
Kewl.

That's why I like this place.
Better to ask than get a fatal error.

Plus you can learn lots eh?
 
Old 09-20-2006, 11:09 PM   #15
jonursenbach
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
lol no kidding.

Thanks for all of your help. Appreciate it a lot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Java installing issue using apt fault Linux - Newbie 9 06-23-2006 09:57 AM
apt-get upgrade kernel issue Jamesk5 Debian 6 04-25-2006 04:50 AM
KDE and GNOME apt issue DaBlade Linux - Software 1 01-18-2006 11:03 AM
Weird apt issue ? frochet Debian 1 12-31-2004 08:39 AM
apt GPG Signature Issue blaroe Fedora 2 01-13-2004 10:08 PM

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

All times are GMT -5. The time now is 01:04 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