Problems with apt-get

Patrick Callahan yellowdog-general@lists.terrasoftsolutions.com
Sat May 10 19:22:35 2003


Here's a sample of what you get with apt-get update
and apt-get dist-upgrade

first I did:

cd /etc/apt/
mv sources.list sources.list.old
wget http://www.yellowdoglinux.com/apt/sources.list



[root@localhost lintao]# configure/apt-get_sources.list
--19:39:27--  http://www.yellowdoglinux.com/apt/sources.list
           => `sources.list'
Resolving www.yellowdoglinux.com... done.
Connecting to www.yellowdoglinux.com[66.7.161.3]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 527 [text/plain]

100%[====================================>] 527          514.65K/s    ETA 00:00

19:39:28 (514.65 KB/s) - `sources.list' saved [527/527]


[root@localhost lintao]# apt-get update
Get:1 http://ftp.yellowdoglinux.com apt/3.0 release [486B]
Fetched 486B in 0s (850B/s)
Get:1 http://ftp.yellowdoglinux.com apt/3.0/main pkglist [1301kB]
Get:2 http://ftp.yellowdoglinux.com apt/3.0/main release [123B]
Get:3 http://ftp.yellowdoglinux.com apt/3.0/main srclist [152kB]
Hit http://ftp.yellowdoglinux.com apt/3.0/update pkglist
Hit http://ftp.yellowdoglinux.com apt/3.0/update release
Hit http://ftp.yellowdoglinux.com apt/3.0/update srclist
Fetched 1453kB in 49s (29.3kB/s)
Reading Package Lists... Done
W: Release file did not contain checksum information for http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.main
W: Release file did not contain checksum information for http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/release.main
W: Release file did not contain checksum information for http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.main
W: You may want to run apt-get update to correct these problems

[root@localhost lintao]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  redhat-config-printer: Obsoletes: cups-drivers but 1.9-1.20020617.6 is installed
                         Obsoletes: cups-drivers-hpijs but 1.9-1.20020617.6 is installed
                         Obsoletes: cups-drivers-pnm2ppa but 1.9-1.20020617.6 is installed
E: Unmet dependencies. Try using -f.


On Sat, 10 May 2003 22:05:43 +0000
"Stephen Reiach" <sreiach@myrealbox.com> wrote:

> A new verison of the apt and yum config files have been published by the YDL people they can be found at:
> 
> http://www.yellowdoglinux.com/yum/yum.conf
> http://www.yellowdoglinux.com/apt/sources.list
> 
> Stephen Reiach
> -----Original Message-----
> From: aris@samizdat.net
> To: yellowdog-general@lists.terrasoftsolutions.com
> Date: Sat, 10 May 2003 22:57:04 +0200 
> Subject: Problems with apt-get
> 
> Hello,
> 
> After installing YDL 3.0 no possibilities to use apt-get for installing
> additionals software.
> 
> Apt can't find the necessary listing files fo packages and sources
> 
> Regarding on apt config file I see that apt-get search for "base" files,
> and on the http://ftp.yellowdoglinux.com apt/3.0 all presents files are
> prefixed "main".
> 
> I made a small "hack" of the file (/etc/apt/sources.list) replacing
> "base" by "main".
> 
> naow apt-get grab the listing but I have new errors : cannot get
> exclusive lock on /var/lib/rpm/Packages, Could not get lock
> /var/cache/apt/archives/lock, Unable to lock the download directory
> 
> Somebody had a idea ?
> 
> Thanks
> 
> Aris
> 
> 
> 
> 
> With the YDL config
> --------------------
> 
> [root@localhost root]# apt-get update
> Get:1 http://ftp.yellowdoglinux.com apt/3.0 release [486B]
> Fetched 486B in 0s (601B/s)
> Err http://ftp.yellowdoglinux.com apt/3.0/base pkglist
>   404 Not Found
> Ign http://ftp.yellowdoglinux.com apt/3.0/base release
> Err http://ftp.yellowdoglinux.com apt/3.0/base srclist
>   404 Not Found
> Hit http://ftp.yellowdoglinux.com apt/3.0/update pkglist
> Hit http://ftp.yellowdoglinux.com apt/3.0/update release
> Hit http://ftp.yellowdoglinux.com apt/3.0/update srclist
> Failed to fetch
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.base 
> 404 Not Found
> Failed to fetch
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.base 
> 404 Not Found
> warning: cannot get exclusive lock on /var/lib/rpm/Packages
> Reading Package Lists... Done
> W: Release file did not contain checksum information for
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.base
> W: Release file did not contain checksum information for
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/release.base
> W: Release file did not contain checksum information for
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.base
> W: You may want to run apt-get update to correct these problems
> E: Some index files failed to download, they have been ignored, or old
> ones used instead.
> 
> After correction
> -----------------
> 
> [root@localhost root]# apt-get update
> Get:1 http://ftp.yellowdoglinux.com apt/3.0 release [486B]
> Fetched 486B in 0s (511B/s)
> Get:1 http://ftp.yellowdoglinux.com apt/3.0/main pkglist [1301kB]
> Get:2 http://ftp.yellowdoglinux.com apt/3.0/main release [123B]
> Get:3 http://ftp.yellowdoglinux.com apt/3.0/main srclist [152kB]
> Hit http://ftp.yellowdoglinux.com apt/3.0/update pkglist
> Hit http://ftp.yellowdoglinux.com apt/3.0/update release
> Hit http://ftp.yellowdoglinux.com apt/3.0/update srclist
> Fetched 1453kB in 1m46s (13,6kB/s)
> warning: cannot get exclusive lock on /var/lib/rpm/Packages
> Reading Package Lists... Done
> Collecting File Provides... Done
> W: Release file did not contain checksum information for
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/pkglist.main
> W: Release file did not contain checksum information for
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/release.main
> W: Release file did not contain checksum information for
> http://ftp.yellowdoglinux.com/pub/yellowdog/apt/3.0/base/srclist.main
> W: You may want to run apt-get update to correct these problems
> 
> 
> When using apt-get
> ------------------
> 
> [root@localhost root]# apt-get install postfix
> warning: cannot get exclusive lock on /var/lib/rpm/Packages
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   postfix
> 0 packages upgraded, 1 newly installed, 0 removed and 10 not upgraded.
> E: Could not get lock /var/cache/apt/archives/lock - open (11 Ressource
> temporairement non disponible)
> E: Unable to lock the download directory
> 
> 
> 
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> 
> 
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general


--