LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2013, 09:37 PM   #1
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 140

Rep: Reputation: 15
libcurl3 internet apt-get for Debian Squeeze


I cannot anymore install libcurl3 for Debian Squeeze (which I need for Google Chrome) which is weird because in the past after installing Squeeze i was able to apt-get from the internet libcurl3 with not problem. Here is what messages i got when I tried: ... any ideas how to make it work?

# apt-get install libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libcurl3 : Depends: libgssapi-krb5-2 (>= 1.10+dfsg~) but 1.8.3+dfsg-4squeeze7 is to be installed
Depends: librtmp0 (>= 2.3) but it is not going to be installed
Depends: libssh2-1 (>= 1.2.6) but it is not going to be installed
Depends: libssl1.0.0 (>= 1.0.1) but it is not going to be installed
PreDepends: multiarch-support but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

-------------------

# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
krb5-locales libc-bin libc6 libc6-i686 libcurl3 libgnutls26 libgssapi-krb5-2 libgssglue1
libk5crypto3 libkrb5-3 libkrb5support0 libp11-kit0 librtmp0 libsmbclient libssh2-1 libssl1.0.0
libtalloc2 libtdb1 libwbclient0 locales multiarch-support
Suggested packages:
glibc-doc krb5-doc krb5-user
The following packages will be REMOVED:
libkrb53
The following NEW packages will be installed:
krb5-locales libcurl3 libp11-kit0 librtmp0 libssh2-1 libssl1.0.0 multiarch-support
The following packages will be upgraded:
libc-bin libc6 libc6-i686 libgnutls26 libgssapi-krb5-2 libgssglue1 libk5crypto3 libkrb5-3
libkrb5support0 libsmbclient libtalloc2 libtdb1 libwbclient0 locales
14 upgraded, 7 newly installed, 1 to remove and 1303 not upgraded.
1 not fully installed or removed.
Need to get 0 B/20.4 MB of archives.
After this operation, 12.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Reading changelogs... Done
(END)

-------------------------------------

I would upgrade to Debian Wheezy, which has no problem with libcurl3 but on this old computer Wheezy doesn't work...
 
Old 08-04-2013, 04:45 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you noticed that you have 1303 packages not being upgraded?
libcurl3 is in Dbian Jessie so I would say it's still in squeeze. I think you need to upgrade all of your packages.
 
Old 08-04-2013, 05:20 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Your output from apt-get -f install contains this:
Quote:
The following NEW packages will be installed:
krb5-locales libcurl3 libp11-kit0 librtmp0 libssh2-1 libssl1.0.0 multiarch-support
So assuming apt-get -f install was successful then libcurl3 was installed. So what exactly is your problem?

jdk
 
Old 08-04-2013, 07:38 PM   #4
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 140

Original Poster
Rep: Reputation: 15
jdkaye: after apt-get -f install I tried to install google and again i got a message that libcurl3 was not installed (plus a few more libs). the problem is that before wheezy was released i didn't get any error message when i installed libcurl3 and then i was able to install google. not so now..

EDDY1: how do I upgrade all packages?
 
Old 08-05-2013, 12:12 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Only works if /etc/apt/sources.list is correct & hopefully nothing is screwed up due to so many previous repos.
Quote:
apt-get update
apt-get upgrade
apt-get dist-upgrade
 
Old 08-05-2013, 02:45 AM   #6
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
libcurl3 is in squeeze and will ONLY depend on other packages available in squeeze.

Somehow you are attempting to install a libcurl3 package from another release, with (not surprisingly) unsatisfiable depends.
If you have already been mixing repo's and installing other foreign packages then it all gets rather problematic.
Post your sources.list and anything in sources.list.d/ as well as what you did to make that libcurl3 available to apt.
 
Old 08-05-2013, 06:40 PM   #7
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 140

Original Poster
Rep: Reputation: 15
# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 DVD Binary-1 20120929-15:56]/ squeeze contrib main

deb http://ftp.ca.debian.org/debian stable main contrib
deb-src http://ftp.ca.debian.org/debian stable main contrib

deb http://ftp.debian.org/debian/ squeeze-updates main contrib
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib

deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib

deb http://www.deb-multimedia.org squeeze main non-free
deb ftp://ftp.deb-multimedia.org squeeze main non-free
 
Old 08-05-2013, 06:43 PM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,047

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
The problem is that Debian Squeeze is "old-stable" and "stable" now refers to Debian Wheezy (and will someday refer to Jessie, etc.)

So your software sources are a mix of two different releases.

Easiest option in my opinion is to do a fresh reinstall of the current Stable (Wheezy) as Squeeze is nearing its end of support.
 
Old 08-05-2013, 09:10 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by snowpine View Post
Easiest option in my opinion is to do a fresh reinstall of the current Stable (Wheezy) as Squeeze is nearing its end of support.
Debian is designed to cleanly upgrade from one stable release to the next. As such I would only recommend doing a fresh install if the OP has _nothing_ on that machine that they care about and want to start with a completely fresh install without any custom configurations etc.

Full (yet fairly simple and concise) instructions for performing the upgrade are in the Wheezy release notes.

Anyway moving from Squeeze to Wheezy should be a priority.

Evo2.
 
Old 08-05-2013, 09:17 PM   #10
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,047

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
^--- or you could do that---6 of one, half dozen of another.

Honestly I am used to Ubuntu where upgrades are broken, maybe in Debian they work great?
 
Old 08-05-2013, 09:27 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by snowpine View Post
^--- or you could do that---6 of one, half dozen of another.
well...
Quote:
Honestly I am used to Ubuntu where upgrades are broken, maybe in Debian they work great?
Ahh, that's why. Debian upgrades really do work well. My main home server (doubles as a workstation) has upgraded with little to no fuss all the way from Etch (released in 2007), through Lenny, Squeeze and now to Wheezy. It has continued to serve up samba, nfs, https, etc and performs backups for the other machines for pretty much its whole lifetime. I'm quite glad I've not had to restore configs and settings from backups for each new stable Debian release.

Cheers,

Evo2.
 
Old 08-06-2013, 02:58 AM   #12
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
My experience with debian upgrades is excellent - I haven't had one fail yet.
If you start from a sane state, and take advice from the release notes, all should be well.

@op
Change all the 'stable' and 'squeeze' in your sources.list to 'wheezy', read the release notes, then issue 'apt-get update' and 'apt-get upgrade' to complete the upgrade that you have already partially started.
 
Old 08-06-2013, 03:12 AM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by descendant_command View Post
@op
Change all the 'stable' and 'squeeze' in your sources.list to 'wheezy', read the release notes, then issue 'apt-get update' and 'apt-get upgrade' to complete the upgrade that you have already partially started.
An "apt-get dist-upgrade" will also be needed. But as already stated please read the release notes. Often it is recommended to first upgrade apt or remove some packages etc. At the very least you should look at the upgrade section. Eg assuming amd64, see: http://www.debian.org/releases/wheez...rading.en.html

Evo2.
 
Old 08-06-2013, 03:44 AM   #14
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,385

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by evo2 View Post

An "apt-get dist-upgrade" will also be needed.
Hmmm, could have sworn I had written that - was definitely thinking it...
 
  


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
python-apt : unresolved dependencies installing packages on Debian squeeze 6.04 marmirelo Linux - Newbie 1 04-27-2012 08:19 PM
Debian Squeeze installed without internet connection, can't apt-get Zzabe Linux - Laptop and Netbook 4 02-15-2012 12:31 PM
Debian Squeeze - apt-get running by itself in the background austinium Debian 9 11-23-2010 12:33 PM
Upgraded to Debian Squeeze, and now apt-get has gone insane Changes Linux - General 3 10-26-2009 11:52 AM


All times are GMT -5. The time now is 06:21 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration