RE: [SLE] Mozilla upgrade from version 0.9.4-4 to 1.0 w/apt4rpm.
![](https://seccdn.libravatar.org/avatar/b3d77307fa437ee64047e8845c981f8b.jpg?s=120&d=mm&r=g)
Hi JR! Here are the results of "apt-get -S upgrade":
thor:/home/brian # apt-get -S upgrade Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these. Sorry, but the following packages have unmet dependencies: java2: Depends: libodbc.so but it is not installable Depends: libodbcinst.so but it is not installable E: Unmet dependencies. Try using -f.
- Initially apt can be a pain, especially if it's out of synch with the rest - of the distribution. But once you get caught up you won't be able to live - without it.
That is what I am hoping, but I prefer to take it one step at a time and learn the "feel" of apt before I go "whole hog".
- In apt we trust.
Not yet, but hopefully I'll get there ;-)
Apt can be very cranky at times and will refuse to do things until it's dependencies are met. If you do an "apt-get -f install" it will probably remove java2 to fix the problem, just like you were afraid it might. But, you can always "apt-get install java2" once the problem has been resolved. On the other hand, I'd suggest removing *all* the ODBC libraries manually with rpm (rpm --erase --nodeps <package>) because they're much smaller downloads than java2. Then, "apt-get -f install" will provide java2 with whatever ODBC packages it wants and any other missing dependencies (in theory, of course ;-). Hopefully, that will fix your problem with a relatively small download, then you can do your "apt-get -S upgrade" and watch the scrollbar kick into overdrive. In apt we trust, -jrh
![](https://seccdn.libravatar.org/avatar/a7eb1ec9ad33cd3ffb68cd5dabcf4449.jpg?s=120&d=mm&r=g)
Hello John and Brian, this thing seems a bug in the java2 or libodbc rpms. I investigated this thing about 2 months ago: - the problem is that the libodbc rpms provide libodbc.so.1 and libodbcinst.so.1 - java2 requires the *.so.2 files Apt is correct in its statement that something is missing, which is due to a bug (let's call it a bug) in either the libodbc, or java2 rpm creation (including build environment, etc). I tried to make an rpm to provide the missing *.so.2 files, I did not succeed. What I believe is that the problem does not exist with the libodbc and java2 rpms provided with suse-8.0.... => check if you can (and want) to install these. How, grab them manually from the 8.0 rpm repository or...., point your sources.list file to ..../SuSE/8.0-i386/.. and execute: "apt-get -S install java1 libODBC". If this looks okay, execute the command without "-S". Now, change back your sources.list file to ../SuSE/7.3-i386/.. Op maandag 8 juli 2002 20:15, schreef John Ross Hunt:
Apt can be very cranky at times and will refuse to do things until it's dependencies are met. If you do an "apt-get -f install" it will probably remove java2 to fix the problem, just like you were afraid it might. But, you can always "apt-get install java2" once the problem has been resolved. On the other hand, I'd suggest removing *all* the ODBC libraries manually with rpm (rpm --erase --nodeps <package>) because they're much smaller downloads than java2. Then, "apt-get -f install" will provide java2 with whatever ODBC packages it wants and any other missing dependencies (in theory, of course ;-). Hopefully, that will fix your problem with a relatively small download, then you can do your "apt-get -S upgrade" and watch the scrollbar kick into overdrive.
-- Richard Bos Without a home the journey is endless
![](https://seccdn.libravatar.org/avatar/d74fe80cdf7be80d213fb7e19730ea2d.jpg?s=120&d=mm&r=g)
On Tuesday 09 July 2002 02:50, Richard Bos wrote: - point your sources.list file to ..../SuSE/8.0-i386/.. and execute: - "apt-get -S install java1 libODBC". Tried that, but it looks weird doesn't it? thor:/home/brian # apt-get -S install java1 libODBC Processing File Dependencies... Done Reading Package Lists... Done Building Dependency Tree... Done W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.base' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.base) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.update' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.update) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.kde' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.kde) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.gnome' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.gnome) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.mozilla' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.mozilla) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.extra' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.extra) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.security' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkglist.security) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these missing files E: Couldn't find package java1 My sources.list file temporarily reads as: rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base update kde gnome mozilla extra security #rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base update kde gnome mozilla extra security usr-local-bin #rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 update kde gnome mozilla extra security usr-local-bin rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base update kde gnome xfree86 mozilla extra security Cheers, Brian
![](https://seccdn.libravatar.org/avatar/a7eb1ec9ad33cd3ffb68cd5dabcf4449.jpg?s=120&d=mm&r=g)
HI Brian, it looks weird indeed ;) Did you do an "apt-get update" before the "apt-get -S install...." command? This is to sync your system with the server database. I assume that the result will be better Op dinsdag 9 juli 2002 09:24, schreef Brian Durant:
On Tuesday 09 July 2002 02:50, Richard Bos wrote: - point your sources.list file to ..../SuSE/8.0-i386/.. and execute: - "apt-get -S install java1 libODBC".
Tried that, but it looks weird doesn't it?
thor:/home/brian # apt-get -S install java1 libODBC Processing File Dependencies... Done Reading Package Lists... Done Building Dependency Tree... Done W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.base' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.base) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.update' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.update) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.kde' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.kde) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.gnome' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.gnome) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.mozilla' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.mozilla) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.extra' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.extra) - stat (2 No such file or directory) W: Couldn't stat source package list 'ftp://ftp.gwdg.de SuSE/8.0-i386/base/pkglist.security' (/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_8.0-i386_base_pkg list.security) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these missing files E: Couldn't find package java1
My sources.list file temporarily reads as:
rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base update kde gnome mozilla extra security #rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base update kde gnome mozilla extra security usr-local-bin #rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 update kde gnome mozilla extra security usr-local-bin rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base update kde gnome xfree86 mozilla extra security
Cheers,
Brian
-- Richard Bos Without a home the journey is endless
![](https://seccdn.libravatar.org/avatar/d74fe80cdf7be80d213fb7e19730ea2d.jpg?s=120&d=mm&r=g)
On Tuesday 09 July 2002 20:09, Richard Bos wrote: - it looks weird indeed ;) - Did you do an "apt-get update" before the "apt-get -S install...." command? - This is to sync your system with the server database. I assume that the - result will be better This would mean that I would be downloading SuSE 8 updates to a SuSE 7.3 Pro system. Wouldn't it? Cheers, Brian
participants (3)
-
Brian Durant
-
John Ross Hunt
-
Richard Bos