I'm tying to install apt and I Yast is telling me that I need libdb.so.2 & librpm.so.0 I have db1 installed and someone told me that I may need a newer version of apt (the rpm I have was made in 2002). Does anyone know where I can get a newer version or where I can get these files from ? The full error is: #### YaST2 conflicts list - generated 2006-04-16 09:06:35 #### apt 0.5.4cnc9-1cl conflict Unresolved Requirements: apt requires libdb.so.2 apt requires librpm.so.0 Conflict Resolution: ( ) Do Not Install apt ( ) Ignore Conflict and Risk System Inconsistencies libdb.so.2 not available Required by: apt requires libdb.so.2 Conflict Resolution: ( ) Remove the Referring Package Do Not Install apt ( ) Ignore Conflict and Risk System Inconsistencies librpm.so.0 not available Required by: apt requires librpm.so.0 Conflict Resolution: ( ) Remove the Referring Package Do Not Install apt ( ) Ignore Conflict and Risk System Inconsistencies #### YaST2 conflicts list END ### ___________________________________________________________ Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets. http://uk.mail.yahoo.com
On Sunday 16 April 2006 09:09, perlcgi2000 wrote:
I'm tying to install apt and I Yast is telling me that I need libdb.so.2 & librpm.so.0
You haven't described your environment, but on my 10.0 system: carl@linux:~> rpm -q --whatprovides libdb.so.2 db1-1.85-90 --> So, this package is included with SUSE 10.0 carl@linux:~> rpm -q --whatprovides librpm.so.0 no package provides librpm.so.0 --> ... whereas this package isn't. A little Google research suggests that librpm.so.0 was distributed with SuSE 9.0 and 9.1. ** I also came across some postings where someone was getting this error while trying to install apt4rpm, which is the server (to manage and provide apt repository services) instead of just apt-get, the client package** There /is/ an rpm you can download and install containing a script that looks at your SUSE installation then downloads, installs and configures the apt client for you, completely automatically. It's a great time-saver. Check out this link: http://susewiki.org/index.php?title=Install-apt4suse hth & regards, Carl
Carl,
Thanks for the help - I should have mentioned that I have opensuse 10.0
I downloaded install-apt4suse and installed it OK. However, when I try to use it I get this error:
Do I just need to create a folder called pub/linux/suse/apt/SuSE/10.0-i386/RPMS ?
Linux:/home/nathan # install-apt4suse
/usr/bin/install-apt4suse: line 144: [: missing `]'
/usr/bin/install-apt4suse: line 144: 10.1: command not found
Setup apt for SuSE Linux 10.0 on i386...
Downloading apt and apt-libs packages...
No such directory `pub/linux/suse/apt/SuSE/10.0-i386/RPMS.'.
unlink: No such file or directory
No such directory `pub/linux/suse/apt/SuSE/10.0-i386/RPMS.'.
unlink: No such file or directory
Done.
error: File not found by glob: /tmp/apt-*
apt-libs-0.5.15cnc7-6
package apt is not installed
Package apt is not installed
linux:/home/nathan #
--- Carl Hartung
On Sunday 16 April 2006 09:09, perlcgi2000 wrote:
I'm tying to install apt and I Yast is telling me that I need libdb.so.2 & librpm.so.0
You haven't described your environment, but on my 10.0 system:
carl@linux:~> rpm -q --whatprovides libdb.so.2 db1-1.85-90 --> So, this package is included with SUSE 10.0
carl@linux:~> rpm -q --whatprovides librpm.so.0 no package provides librpm.so.0 --> ... whereas this package isn't.
A little Google research suggests that librpm.so.0 was distributed with SuSE 9.0 and 9.1. ** I also came across some postings where someone was getting this error while trying to install apt4rpm, which is the server (to manage and provide apt repository services) instead of just apt-get, the client package**
There /is/ an rpm you can download and install containing a script that looks at your SUSE installation then downloads, installs and configures the apt client for you, completely automatically. It's a great time-saver. Check out this link:
http://susewiki.org/index.php?title=Install-apt4suse
hth & regards,
Carl
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
On Sunday 16 April 2006 11:29, perlcgi2000 wrote:
Carl,
Thanks for the help - I should have mentioned that I have opensuse 10.0
I downloaded install-apt4suse and installed it OK. However, when I try to use it I get this error: <snip>
That's annoying! Every time I've run that script it's just worked beautifully. It's been a long time since I last manually installed and configured apt, too, otherwise I could probably rattle off a solution or two from the top of my head. Did you follow the installation instructions completely? You need wget installed and a non-proxy ftp connection to the Internet. If these conditions are met, then it could be the remote server was very busy or mid-update or something... I'd try again a few more times at intervals of an hour or two, just to see if the condition clears and it 'takes'. If that doesn't work, you'll have to 'get your hands dirty'... do some general sleuthing and document / web page reading and troubleshooting. ;-) documents: /usr/share/doc/packages/install-apt4suse also: http://susewiki.org/index.php?title=Install-apt4suse The config file is /etc/install-apt4suse.conf good luck & regards! Carl
On Sunday 16 April 2006 19:42, Carl Hartung wrote:
documents: /usr/share/doc/packages/install-apt4suse also: http://susewiki.org/index.php?title=Install-apt4suse
The config file is /etc/install-apt4suse.conf
Addendum: I forgot to add the following reference page: http://linux01.gwdg.de/apt4rpm/ Carl
On Sunday 16 April 2006 17:29, perlcgi2000 wrote: ...
I downloaded install-apt4suse and installed it OK. However, when I try to use it I get this error: ... Linux:/home/nathan # install-apt4suse /usr/bin/install-apt4suse: line 144: [: missing `]' /usr/bin/install-apt4suse: line 144: 10.1: command not found
line 144 contains: if [ "$SUSE_VERSION" = "10.0" || "10.1" ]; then That is a syntax error. It should be: if [ "$SUSE_VERSION" = "10.0" ] || [ "$SUSE_VERSION" = "10.1" ]; then You could try to change this yourself: the file to edit is /usr/bin/install-apt4suse. Cheers, Leen
participants (3)
-
Carl Hartung
-
Leendert Meyer
-
perlcgi2000