LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-06-2008, 09:06 PM   #1
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Rep: Reputation: 15
Question Etch-to-Lenny upgrade?


I am still somewhat new to Debian (I was an OS X user for many years) so bear with me. Lately I've been trying to install certain things on my desktop and I'm receiving broken dependency errors (cairo-dock, swiftfox).
For example:

Code:
# dpkg -i cairo-dock_v1.5.5.4_i686-32bits.deb
Selecting previously deselected package cairo-dock.
(Reading database ... 108775 files and directories currently installed.)
Unpacking cairo-dock (from cairo-dock_v1.5.5.4_i686-32bits.deb) ...
dpkg: dependency problems prevent configuration of cairo-dock:
 cairo-dock depends on libgtk2.0-0 (>= 2.10.0); however:
  Version of libgtk2.0-0 on system is 2.8.20-7.
 cairo-dock depends on libcairo2 (>= 1.4.2); however:
  Version of libcairo2 on system is 1.2.4-4.1+etch1.
 cairo-dock depends on librsvg2-2 (>= 2.16.0); however:
  Version of librsvg2-2 on system is 2.14.4-3.
 cairo-dock depends on libglitz1; however:
  Package libglitz1 is not installed.
 cairo-dock depends on libglitz-glx1; however:
  Package libglitz-glx1 is not installed.
dpkg: error processing cairo-dock (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cairo-dock
So I assumed the reason I couldn't get these upgraded packages was because I'm running etch and I would have these newer versions under Lenny repositories. I edited all instances of "etch" with "lenny" in my sources.list, and I am getting unresolved dependency errors on EVERY package I try to install in synaptic - there isn't even a package description.

What am I doing wrong? - or - Am I wrong in thinking upgrading my repositories will help me out?
 
Old 05-06-2008, 09:30 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Attempting to mix Testing repositories with Stable is wrong, wrong wrong. First upgrade completely to Lenny (Testing) if you need applications from Testing.
 
Old 05-06-2008, 09:44 PM   #3
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh View Post
Attempting to mix Testing repositories with Stable is wrong, wrong wrong. First upgrade completely to Lenny (Testing) if you need applications from Testing.
If you could show me how to do that and have packages work that would be great, I'm already running a linux kernel version much higher than the stable version, and this is just for my home computer - I'm not worried about having 'unstable' packages.
 
Old 05-06-2008, 09:48 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Post your /etc/apt/sources.list file
 
Old 05-06-2008, 09:58 PM   #5
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Code:
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official amd64 NETINST Binary-1 20080218-14:10]/ etch contrib main

# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official amd64 NETINST Binary-1 20080218-14:10]/ etch contrib main

deb http://gulus.usherbrooke.ca/debian/ lenny main non-free
deb-src http://gulus.usherbrooke.ca/debian/ lenny main non-free


deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free


# Compiz-fusion repo
# deb http://download.tuxfamily.org/shames/debian-etch/desktopfx/stable/ ./

#Backports
deb http://www.backports.org/debian etch-backports main contrib non-free
Anywhere it says 'lenny' was originally 'etch'
 
Old 05-06-2008, 10:07 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Comment out backports. You won't need it any more after you move to Lenny. Add "contrib" to your primary repos the same way they're on the Security repo. You may also want to add "multimedia" ... Most people do.
Code:
deb http://www.debian-multimedia.org testing main
When that's done...
# aptitude keep-all
# aptitude update
# aptitude install aptitude
# aptitude full-upgrade

You'll probably encounter gpg-key messages. Don't worry about them too much, but the solution is ...
# aptitude search keyring

...then install the keyring application for "testing" and "multimedia"

Last edited by rickh; 05-06-2008 at 10:09 PM.
 
Old 05-06-2008, 10:08 PM   #7
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
# aptitude keep-all

I've never seen this command anywhere, what does it do?

I will try this as soon as I can and I will let you know, thank you!
 
Old 05-06-2008, 10:13 PM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
aptitude keep-all ... is a saftey valve in case you have not been using aptitude exclusively as is recommended by official Debian manuals.
 
Old 05-07-2008, 08:09 AM   #9
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
aptitude full-upgrade Wasn't recognized as a command
And after all that, I still can't install packages.
 
Old 05-07-2008, 08:14 AM   #10
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Try ...
# aptitude dist-upgrade

"aptitude full-upgrade" only works with newer versions of aptitude, which is why I included "aptitude install aptitude" in the sequence.
 
Old 05-07-2008, 08:20 AM   #11
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Code:
# apt-get install debian-multimedia-keyring
Reading package lists... Done
Building dependency tree... Done
Package debian-multimedia-keyring is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package debian-multimedia-keyring has no installation candidate
Still no packages.
 
Old 05-07-2008, 08:39 AM   #12
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Quote:
# apt-get install debian-multimedia-keyring
Part of the purpose of this exercise is to get you switched over to aptitude.

Apparently, by the looks of your error message, you still have problems with your sources.list file, but other issues as well. Try ...

# aptitude -f install

...and see if that unblocks things.
 
Old 05-07-2008, 10:31 AM   #13
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Code:
# aptitude -f install
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
I didn't know there was a difference between apt-get and aptitude
 
Old 05-07-2008, 10:36 AM   #14
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
There is a difference.

I don't see any reason you should not be able to successfully upgrade to Lenny. Do you have a file named /etc/apt/preferences or /etc/apt/apt.conf ? If so, post their contents along with your current sources.list

Also, the output of $ apt-cache policy aptitude

Last edited by rickh; 05-07-2008 at 10:38 AM.
 
Old 05-07-2008, 10:39 AM   #15
pietruszewski
Member
 
Registered: Jul 2007
Location: London, Ontario, Canada
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
sources.list:
Code:
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official amd64 NETINST Binary-1 2$
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official amd64 NETINST Binary-1 2$
deb http://ftp.us.debian.org/debian testing main contrib non-free
deb-src http://ftp.us.debian.org/debian testing main contrib non-free


deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

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

# Compiz-fusion repo
# deb http://download.tuxfamily.org/shames/debian-etch/desktopfx/stable/ ./
/etc/apt/preferences:

Code:
Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 500

Package: flashplugin-nonfree
Pin: release o=Debian,a=stable
Pin-Priority: -1

Package: empty-expect
Pin: release o=Backports.org archive,a=etch-backports
Pin-Priority: 500

Package: flashplugin-nonfree
Pin: release o=Backports.org archive,a=etch-backports
Pin-Priority: 500

Package: *
Pin: release a=now
Pin-Priority: 100

Package: *
Pin: release o=Debian
Pin-Priority: -1

Package: *
Pin: release *
Pin-Priority: -1
 
  


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
Possible to Upgrade Etch to Lenny? BobNutfield Debian 5 02-29-2008 01:45 PM
etch to lenny upgrade- any kernel related pitfalls? sonichedgehog Debian 6 01-14-2008 05:31 PM
-best way to upgrade from Etch to Lenny ? el amigo* Debian 10 09-24-2007 11:40 PM
from Etch testing to Etch stable, or to Lenny Perquisitor Debian 7 04-13-2007 03:27 PM
etch upgrade to lenny StargateSteve Debian 8 04-12-2007 03:11 PM


All times are GMT -5. The time now is 02:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration