rpm dependencies after failed apt update
Hi All, I use SuSE 8.0 with apt and synaptic. I have downloaded the latest sources.list file from http://linux01.gwdg.de/apt4rpm/ and did an update and upgrade. The upgrade failed. RPM returned an error. I think it was error 39. Now, I get the following errors when I try to upgrade packages one by one.: error: failed dependencies: arts-devel = 1.0.0-14 or arts-devel = 1.0.0-2 or arts-devel = 1.0.0-31 or arts-devel = 1.0.0-59 or arts-devel = 1.0.1-13 or arts-devel = 1.0.1-23 or arts-devel = 1.0.3-4 is needed by arts-devel-1.0.4-4 arts = 1.0.0-14 or arts = 1.0.0-2 or arts = 1.0.0-31 or arts = 1.0.0-59 or arts = 1.0.1-13 or arts = 1.0.1-23 or arts = 1.0.3-4 is needed by arts-1.0.4-4 When I try all upgradeable packages, the kdelibs3 package fails the md5 check and nothing is upgraded. When I try a subset, rpm returns error code 39. The system has also become unstable. It only runs for a few hours then it hangs. Anybody know what I can do to fix this problem? Thanks -- Andre Truter Software Engineer Registered Linux user #185282 ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net <-------------------------------------------------> < The box said: Requires Windows 95 or better... > < So I installed Linux > <------------------------------------------------->
error: failed dependencies: arts-devel = 1.0.0-14 or arts-devel = 1.0.0-2 or arts-devel = 1.0.0-31
go to yast2 -> install software-> search for ''arts'' install arts and arts-devel from the cd. That is version 1.0.0-2 The arts* you have downloaded is an upgrade so you need to install arts* before run apt-get again --Kees
Op zaterdag 2 november 2002 16:01, schreef Andre Truter:
Hi All,
I use SuSE 8.0 with apt and synaptic.
I have downloaded the latest sources.list file from http://linux01.gwdg.de/apt4rpm/ and did an update and upgrade.
The upgrade failed. RPM returned an error. I think it was error 39.
Now, I get the following errors when I try to upgrade packages one by one.:
error: failed dependencies: arts-devel = 1.0.0-14 or arts-devel = 1.0.0-2 or arts-devel = 1.0.0-31 or arts-devel = 1.0.0-59 or arts-devel = 1.0.1-13 or arts-devel = 1.0.1-23 or arts-devel = 1.0.3-4 is needed by arts-devel-1.0.4-4 arts = 1.0.0-14 or arts = 1.0.0-2 or arts = 1.0.0-31 or arts = 1.0.0-59 or arts = 1.0.1-13 or arts = 1.0.1-23 or arts = 1.0.3-4 is needed by arts-1.0.4-4
When I try all upgradeable packages, the kdelibs3 package fails the md5 check and nothing is upgraded. When I try a subset, rpm returns error code 39.
A quote about the the *-prpm components from the SuSE apt howto webpage (http://linux01.gwdg.de/apt4rpm): Drawback: APT will fail sometimes in case the to be patched rpm is not installed... Workaround, just remove the component with the suffix "-prpm" from the sources.list file, this will force apt to download and install the full/normal rpm. It's now possible to put the component with the "-prpm" suffix back (which is nice for apt/download server) in the sources.list file. The workaround for kdelibs is to "hold" it. apt-get -o RPM::Hold::="kdelibs3" upgrade Or to install all listed rpms manually using "apt-get install <pkgs>" -- Richard
On Sat, 2002-11-02 at 17:22, Richard Bos wrote:
A quote about the the *-prpm components from the SuSE apt howto webpage (http://linux01.gwdg.de/apt4rpm):
Drawback: APT will fail sometimes in case the to be patched rpm is not installed... Workaround, just remove the component with the suffix "-prpm" from the sources.list file, this will force apt to download and install the full/normal rpm. It's now possible to put the component with the "-prpm" suffix back (which is nice for apt/download server) in the sources.list file.
The workaround for kdelibs is to "hold" it. apt-get -o RPM::Hold::="kdelibs3" upgrade
Or to install all listed rpms manually using "apt-get install <pkgs>"
I removed the '-prpm' stuff from my sources file and did the manual install with "apt-get install <pkgs>" Got most of them upgraded. I only still have two problems: kdelibs3 - seems like the package that it tries to download is corrupt. I get this failure: --------------------------------------------------------------------- Get:4 ftp://ftp.gwdg.de SuSE/8.0-i386/update kdelibs3-devel-doc 3.0.4-5 [7422kB] Fetched 19.3MB in 43m50s (7339B/s) Failed to fetch ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.0-i386/RPMS.update/kdelibs3-3.0.4-5.i386.rpm MD5Sum mismatch ----------------------------------------------------------------------- Then glibc also have a problem: ---------------------------------------------------------------------- # apt-get install glibc Reading Package Lists... Done Building Dependency Tree... Done The following packages will be upgraded glibc 1 packages upgraded, 0 newly installed, 0 removed and 9 not upgraded. Need to get 0B/1521kB of archives. After unpacking 32B will be used. Executing RPM (-Uvh)... cannot read header at 0 for dependency check E: Sub-process /bin/rpm returned an error code (1) ---------------------------------------------------------------------- -- Andre Truter Software Engineer Registered Linux user #185282 ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net <-------------------------------------------------> < The box said: Requires Windows 95 or better... > < So I installed Linux > <------------------------------------------------->
Op zondag 3 november 2002 23:15, schreef Andre Truter:
kdelibs3 - seems like the package that it tries to download is corrupt. I get this failure: --------------------------------------------------------------------- Get:4 ftp://ftp.gwdg.de SuSE/8.0-i386/update kdelibs3-devel-doc 3.0.4-5 [7422kB] Fetched 19.3MB in 43m50s (7339B/s) Failed to fetch ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.0-i386/RPMS.update/kdelibs3-3.0 .4-5.i386.rpm MD5Sum mismatch -----------------------------------------------------------------------
What happens if you get the rpm from suse (ftp://ftp.suse.com/pub/suse/update/8.0/..... etc)?? Download (or move) the file to the directory /var/cache/apt/archives and run apt again.
Then glibc also have a problem: ---------------------------------------------------------------------- # apt-get install glibc Reading Package Lists... Done Building Dependency Tree... Done The following packages will be upgraded glibc 1 packages upgraded, 0 newly installed, 0 removed and 9 not upgraded. Need to get 0B/1521kB of archives. After unpacking 32B will be used. Executing RPM (-Uvh)... cannot read header at 0 for dependency check E: Sub-process /bin/rpm returned an error code (1) ----------------------------------------------------------------------
what happens if you install the rpm yourself with rpm (or kpackage e.g.)? The rpm can be find at: /var/cache/apt/archives. The command to be executed is: rpm -Uvh glibc* Same error message? That looks like a corrupted rpm => download once more? -- Richard
On Mon, 2002-11-04 at 07:38, Richard Bos wrote:
What happens if you get the rpm from suse (ftp://ftp.suse.com/pub/suse/update/8.0/..... etc)?? Download (or move) the file to the directory /var/cache/apt/archives and run apt again.
I downloaded kdelibs from a mirror and it installed fine - thanks!
what happens if you install the rpm yourself with rpm (or kpackage e.g.)? The rpm can be find at: /var/cache/apt/archives. The command to be executed is: rpm -Uvh glibc*
Same error message? That looks like a corrupted rpm => download once more?
The glibc package is still a problem. I downloaded two copies from two different mirrors and I even tried the patch, but they all give the same error. obelix:/var/cache/apt/archives # rpm -Uvh glibc-2.2.5-158.i386.rpm cannot read header at 0 for dependency check obelix:/var/cache/apt/archives # rpm -Uvh glibc-2.2.5-158.i386.patch.rpm cannot read header at 0 for dependency check obelix:/var/cache/apt/archives # rpm -Uvh --force glibc-2.2.5-158.i386.rpm cannot read header at 0 for dependency check Does anybody know what that error message means? I don't see anything in the rpm man page about error messages. -- Andre Truter Software Engineer Registered Linux user #185282 ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net <-------------------------------------------------> < The box said: Requires Windows 95 or better... > < So I installed Linux > <------------------------------------------------->
participants (3)
-
Andre Truter
-
Kees Bergwerf
-
Richard Bos