LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-11-2004, 08:02 PM   #1
biblefreak
Member
 
Registered: Dec 2002
Location: West Texas
Distribution: Ubuntu Hardy
Posts: 44

Rep: Reputation: 15
Suse 9.1 and apt-get


I followed the tuorial from suse as well as I could figure. When I try to run apt-get, I get the following error no matter what package I am trying to install.

us@linux:~> su
Password:
linux:/home/us # apt-get install superkaramba
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database
linux:/home/us #

This is what my etc/apt/sources.list looks like

# Uncomment the line below, in case you want to use SuSE's patch rpms.
# Read the information about patch rpms at http://linux01.gwdg.de/apt4rpm

rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.1-i386 base update-prpm update kde gnome xfree86 xorg mozilla samba3 suser-rbos suser-gbv usr-local-bin suser-tcousin suser-scorot funktronics packman packman-i686 kernel-of-the-day wine suse-projects kde3-stable security-prpm security

rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.1-i386 update-prpm security-prpm



# A very basic sources.list line. Fastest repository first.
# Remove "base" in case you are behind a
# slow connection. Fastest repository first.
# Visit the server to determine which apt components are provided.
rpm ftp://mirrors.mathematik.uni-bielefe...inux/suse/apt/ SuSE/9.1-i386 update security
rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.1-i386 update security

# The list with all available components can be found at:
# http://linix01.gwdg.de/apt4rpm
# Some components provide experimental software, select wisely!
# http://ftp.gwdg.de/pub/linux/suse/ap...urces.list.FTP

# Consult the link above if you want to include uri's for src rpms


What could be going on? It happens if I am looged in as a user and su to root, or if I log in as root.

Thanks for any help.
 
Old 07-11-2004, 08:42 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
the first long list is all you need, you can comment or delete the rest.
try a sux - or sux -c to stay in the present directory instead of a su
you might want to do a 'SuSEconfig' then try again.

next problem, superkaramba is not available on the suse mirrors, sorry.

EDIT:
second look and the mirrors, it is available, its just called 'karamba'

Last edited by rshaw; 07-12-2004 at 08:43 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get + suse 9.2 alaios SUSE / openSUSE 1 03-21-2005 08:42 AM
Apt-get on SUSE? Jmcatch742 Linux - General 2 10-03-2004 10:29 AM
APT on SuSE 9 mooler Linux - Software 3 03-10-2004 07:29 AM
Apt 4 Suse 9 rjpa Linux - Distributions 3 02-05-2004 05:55 AM
suse and apt wlfdgcrkz Linux - Software 0 06-14-2003 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration