LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Ran into problem when try to do "apt-get update"... (https://www.linuxquestions.org/questions/debian-26/ran-into-problem-when-try-to-do-apt-get-update-926075/)

toolbox1234 01-27-2012 08:33 PM

Ran into problem when try to do "apt-get update"...
 
Try to use dpkg to install podget but have no luck...


Code:

root@debian:~# dpkg i--i /mnt/data/podget_0.6.4-1_all.deb
Selecting previously deselected package podget.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25444 files and directories currently installed.)
Unpacking podget (from .../data/podget_0.6.4-1_all.deb) ...
dpkg: dependency problems prevent configuration of podget:
 podget depends on debianutils (>= 4.0); however:
  Version of debianutils on system is 3.4.
 podget depends on dos2unix (>= 5.3); however:
  Package dos2unix is not installed.
dpkg: error processing podget (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 podget
root@debian:~# a[ppt-get update


0% [Working]
           
Hit http://security.debian.org squeeze/updates Release.gpg

           
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en

           
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US

           
18% [Waiting for headers] [Waiting for headers]
                                             
Hit http://ftp.debian.org squeeze Release.gpg

                                             
Ign http://ftp.debian.org/debian/ squeeze/contrib Translation-en

                                             
Ign http://ftp.debian.org/debian/ squeeze/contrib Translation-en_US

35% [Waiting for headers] [Waiting for headers]
                                             
Ign http://security.debian.org/ squeeze/updates/main Translation-en

                                             
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US

                                             
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en

                                             
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US

58% [Waiting for headers] [Waiting for headers]
                                             
Hit http://security.debian.org squeeze/updates Release

                                             
58% [Waiting for headers]
                       
58% [Release gpgv 86.9 kB] [Waiting for headers]
                                               
Ign http://ftp.debian.org/debian/ squeeze/main Translation-en

                                               
Ign http://ftp.debian.org/debian/ squeeze/main Translation-en_US

                                               
Ign http://ftp.debian.org/debian/ squeeze/non-free Translation-en

                                               
Ign http://ftp.debian.org/debian/ squeeze/non-free Translation-en_US

82% [Release gpgv 86.9 kB] [Waiting for headers]
                                               
Hit http://ftp.debian.org squeeze Release

                                               
82% [Release gpgv 86.9 kB]
                         
65% [Working]
           
65% [Release gpgv 87.3 kB] [Waiting for headers]
                                               
55% [Waiting for headers]
                       
Hit http://security.debian.org squeeze/updates/main Sources

58% [Waiting for headers]
                       
Hit http://security.debian.org squeeze/updates/contrib Sources

                       
Hit http://security.debian.org squeeze/updates/non-free Sources

                       
Hit http://security.debian.org squeeze/updates/main armel Packages

                       
Hit http://security.debian.org squeeze/updates/contrib armel Packages

                       
Hit http://security.debian.org squeeze/updates/non-free armel Packages

75% [Waiting for headers]
                       
Hit http://ftp.debian.org squeeze/main Sources

                       
79% [Working]
           
Hit http://ftp.debian.org squeeze/contrib Sources

           
Hit http://ftp.debian.org squeeze/non-free Sources

           
Hit http://ftp.debian.org squeeze/main armel Packages

           
Hit http://ftp.debian.org squeeze/contrib armel Packages

           
Hit http://ftp.debian.org squeeze/non-free armel Packages

96% [Working]
           

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 29%

Reading package lists... Done

root@debian:~# apt-get upgrade

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 68%

Building dependency tree... 96%

Building dependency tree     


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 podget : Depends: debianutils (>= 4.0) but 3.4 is installed
          Depends: dos2unix (>= 5.3) but it is not installed
E: Unmet dependencies. Try using -f.


snowday 01-27-2012 08:50 PM

You are trying to install a version of the "podget" package that was not packaged for Debian Squeeze, and therefore you cannot satisfy the dependencies. :)

All you should need to do is:

Code:

apt-get update
apt-get install podget

This will install podget 0.5.8 from the Debian Squeeze repos. :)

k3lt01 01-27-2012 09:52 PM

Quote:

Originally Posted by snowpine (Post 4586385)
You are trying to install a version of the "podget" package that was not packaged for Debian Squeeze, and therefore you cannot satisfy the dependencies. :)

All you should need to do is:

Code:

apt-get update
apt-get install podget

This will install podget 0.5.8 from the Debian Squeeze repos. :)

The Debian versions of podget are all 0.5.8 today regardless of whether it was squeeze, wheezy, or sid. You are much better using official packages so you avoid problems like this.

toolbox1234 01-28-2012 08:45 AM

apt-get install podget works but I tried to get to the latest version.

When I tried to build it from source (either podget-0.6 or podget-0.6.4), I got

gzip -9 < DOC/podget.7 > DOC/podget.7.gz

k3lt01 01-28-2012 12:21 PM

If you want the latest version you are going to have to allow wheezy and/or Sid in your sources list so it can pull the dependencies in that it needs. Having said that you will also need to check, just like I did for you already with podget, if the required dependencies are even in Debian.


All times are GMT -5. The time now is 07:27 PM.