LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Why -bash: rpm: command not found??? Also an rpm/yum Q? (http://www.linuxquestions.org/questions/debian-26/why-bash-rpm-command-not-found-also-an-rpm-yum-q-406682/)

vbtalent 01-22-2006 06:39 PM

Why -bash: rpm: command not found??? Also an rpm/yum Q?
 
Why is my Debian system giving me the error "-bash: rpm: command not found"?

I'm able to install applications via apt-get but not able to remove via "rpm -e"? nor can I use the command "rpm -qa" to find installed rpm's?

I'm also getting the following error while trying to do an "apt-get dist-upgrade"?

"This installation run will require temporarily removing the essential package e2fsprogs due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
Internal Error, Could not early remove e2fsprogs"



Can I install YUM on Debian or is that not recommended?


T.I.A

vbtalent,

farslayer 01-22-2006 07:09 PM

dpkg --list to list installed programs

apt-get remove <Package Name> to uninstall a program.
you can also use aptitude or the GUI based Synaptic to add or remove program sin Debian. and NO you do NOT want to install YUM on debian. that is for RPM based distros and Debian does not use RPM's
you should read the APT How-To to familiarize yourself with how package management works in Debian.
http://www.debian.org/doc/manuals/ap.../index.en.html



APT::Force-LoopBreak e2fsprogs for possible solution look here: http://www.debianforums.com/ftopic20753.html

vbtalent 01-22-2006 08:18 PM

Thank's that got me over the hump!

One other question about the sources.conf. It looks like there has been some changes of who has what and where and what it's called? How can I find a good list of sources to use?

farslayer 01-22-2006 11:06 PM

The sources should have all the standard Debian packages you can use a utility like netselect-apt to automatically configure your soutrces.list file.

apt-get install netselect-apt
netselect-apt -n <distro> ( Insert Stable, Testing or Unstable in place of <distro depending on which you are running... )


If you are running Debian Stable (which is common for people that want a Very Stable system, also the most common install for new Debian users. ) you may want to look at debian-backports. Debian Stable is a EXTREMELY stable distro rock solid you might say, _but_ the packages in it are pretty out of date. Debian backports is just what you need to continue running Debian Stable but still get things like Firefox 1.5 or OpenOffice 2.0
http://backports.org/



This is my entire source list. I am running Debian 3.1 Unstable (also refered to as sid)
The 2 additional entries are for the repository that contains VLC Media Player and the Decss decoder so I can watch DVD's.. I have not found any need for additional repositories. the sources.list file doesn't need to be complex or large. there is more info on the sources.list in the Apt How-to I refered to earlier.

Quote:

deb ftp://debian.uchicago.edu/debian/ unstable main non-free contrib
deb-src ftp://debian.uchicago.edu/debian/ unstable main non-free contrib

# VLC Media Player
deb http://download.videolan.org/pub/videolan/debian sid main

# DVD Decss2
deb ftp://ftp.nerim.net/debian-marillat/ sid main
info on VLC repositories
http://www.videolan.org/vlc/download-debian.html


to add the debian-marillat repository for your specific ..

For sarge (stable) i386
Add in your /etc/apt/sources.list
deb ftp://ftp.nerim.net/debian-marillat/ sarge main

For etch (testing) i386
Add in your /etc/apt/sources.list
deb ftp://ftp.nerim.net/debian-marillat/ etch main

For sid (unstable) i386
Add in your /etc/apt/sources.list
deb ftp://ftp.nerim.net/debian-marillat/ sid main


another repository that may be of interest is the debian-unofficial.
http://www.debian-unofficial.org/index.html
it contains things like decss2, skype, Lame, Adobe Acrobat reader 7, etc...

vbtalent 01-23-2006 06:25 AM

Thanks, that was exactly what I was looking for.

The problem I see for Linux as a mainstream widely acceptable OS isn't that it's opensource it's that the information needed to maintain and update it which is widely available is spread all over the planet and hard to locate, I couldn't find that on Debian's site anywhere.

Hopefully that comment won't make people mad at me but I can't tell you how long I looked and googled for the information you supplied, very frustrating... thanks again.

vbtalent,

farslayer 01-23-2006 07:31 AM

What are you talking about.. all you had to do was come here !! ;)


Glad I could help.

vbtalent 01-23-2006 04:55 PM

Good point! Can we bundle you guy's up with an application....


All times are GMT -5. The time now is 10:39 PM.