Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Newbe mostly familiar with Fedora
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Newbe mostly familiar with Fedora
I have been trying various Linux distros for an older system. I found that Debian seems to install and function the best. So, as far as working from the command line, Fedora uses yum and rpm. What is the protocol for Debian?
Dual Booting Lenny/XP HE on an old PIII Asus Board with an Nvidia 256 meg card, .5 gigs of ram, 800mhz processor and an Hp Officejet Pro L7580 all wired to a wireless network hub,
Re: Newbe mostly familiar with Fedora
debian uses deb packages and apt or aptitude. it is advised once you choose one of apt or aptitude, you stick with it.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
A little more info would be helpful please. I am a newbe you know.
I have noticed the Debian system does not like to adjust for dependencies. If it can't figure it out, which seems too often, it just decides to just give up. What's up with that?
For instance, I'm trying to install cups and the thing just quits when it discovers dependies are needed. Do I have to install everything line by line?
I have noticed the Debian system does not like to adjust for dependencies. If it can't figure it out, which seems too often, it just decides to just give up. What's up with that?
For instance, I'm trying to install cups and the thing just quits when it discovers dependies are needed. Do I have to install everything line by line?
Dual Booting Lenny/XP HE on an old PIII Asus Board with an Nvidia 256 meg card, .5 gigs of ram, 800mhz processor and an Hp Officejet Pro L7580 all wired to a wireless network hub,
Re: Newbe mostly familiar with Fedora
To install cups
It may be you sources.list has a problem. Show us the output of
Code: Select all
aptitude install cups
Code: Select all
cat /etc/apt/sources.list
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
There are dependancies that will not be resolved. What packages do I need to have installed? All I have is the base Debian packages. How where do I look for extra packages and how do I get them on my system?
Re: Newbe mostly familiar with Fedora
Post your /etc/apt/sources.list here as suggested above.
if it is configured correctly and you have a working internet connection then you should have no issue with install a package such as cups.
if it is configured correctly and you have a working internet connection then you should have no issue with install a package such as cups.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Re: Newbe mostly familiar with Fedora
there has been a link once that mixing aptitude and apt-get ain`t no big deal no more.
as i can`t find it, perhaps someone may confirm that or has got the link?
(i don`t say that it is usefull to mix it, like some do, just that it ain`t written in stone)
synaptic is a graphical tool to install packages, cli is good and honorable, but to search for packages synaptic is cool. imo.
if you ain`t got it installed install it (btw: you allready have got a gui?)
as said by the others: first post your sources.list, something is wrong. usually resolving the dependencies works like a charme. automatically.
as i can`t find it, perhaps someone may confirm that or has got the link?
(i don`t say that it is usefull to mix it, like some do, just that it ain`t written in stone)
synaptic is a graphical tool to install packages, cli is good and honorable, but to search for packages synaptic is cool. imo.
if you ain`t got it installed install it (btw: you allready have got a gui?)
as said by the others: first post your sources.list, something is wrong. usually resolving the dependencies works like a charme. automatically.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
-
- Posts: 1740
- Joined: 2009-05-04 15:56
- Been thanked: 1 time
Re: Newbe mostly familiar with Fedora
Have you run to update the db of available packages? You might need -f (--fix-missing) or full-upgrade instead of upgrade. It is likely that after updating will fix the problems. It will tell you what it is going to do. Look carefully at that to see if it wants to uninstall something you want.
Code: Select all
aptitude update
Code: Select all
aptitude -f full-upgrade
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
This is my cat /etc/apt/sources.list run off. Looks pretty skinny to me. This is after I ran the "aptitude -f full-upgrade" and "aptitude install cups".milomak wrote:Post your /etc/apt/sources.list here as suggested above.
if it is configured correctly and you have a working internet connection then you should have no issue with install a package such as cups.
Code: Select all
eff@dadinator:~$ cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 kde-CD Binary-1 20090905-09:27]/ lenny main
deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 kde-CD Binary-1 20090905-09:27]/ lenny main
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
jeff@dadinator:~$
Dual Booting Lenny/XP HE on an old PIII Asus Board with an Nvidia 256 meg card, .5 gigs of ram, 800mhz processor and an Hp Officejet Pro L7580 all wired to a wireless network hub,
Re: Newbe mostly familiar with Fedora
Add the following line to your list.
then
edit You can exchange lenny for stable. Also comment out the cd line.
Code: Select all
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
Code: Select all
aptitude update
edit You can exchange lenny for stable. Also comment out the cd line.
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
I have tried to get the deb package you suggested be I'm not sure what the correct protocol is. I have tried various ways, but I'm having trouble with finding clear documentation on this.
Re: Newbe mostly familiar with Fedora
Hi Steel,Steelaworkn wrote:I have tried to get the deb package you suggested be I'm not sure what the correct protocol is. I have tried various ways, but I'm having trouble with finding clear documentation on this.
I can tell you're about as lost as I've felt at times. No problem, it'll be better soon.
To help you, we'll need a little more information than you've given us yet. Answer the questions and don't make any assumptions about what we know about your setup, okay?
Right now, what do you have? I see from your sources.list that you're trying to install Lenny, the current Debian Stable branch, with the KDE desktop.
How did the install go? Are you logging in to a graphical environment (KDE) or are you stuck at a black screen with white text on it and a command prompt? Big difference with what it's going to take to get you on track... so let us know in your next post, please.
FIRST JOB is to make sure your /etc/apt/sources.list is right. The package management system depends on it. Installing packages should be easy and dependencies dealt with invisibly and completely, and you shouldn't give up until that's what you've got.
We need to get you into an editor to change sources.list. If I knew what your environment is like I could streamline this a little, but for now I'm going with what should work no matter what. You may already know how to do most of what I'm going to talk you through, but until we know more I'm going to be very basic...
If you're in a graphical environment (KDE) you need to open a terminal window. I think it's called Konsole. I don't use KDE, so I don't know the menus or icons. Poke around in the menus until you find it. When it runs you should have a window onto a text-based command line interface. As soon as you're at the command line and see a prompt ( jeff@dadinator:~$ ) we're good.
Next we're going to elevate your priveleges to that of the root administrator. Type the following command at the prompt and type in your root password when prompted:
Code: Select all
su
Now lets navigate to the right directory, make a backup copy of your current sources.list, and then open it in an editor:
Code: Select all
cd /etc/apt/
Next:
Code: Select all
cp sources.list sources.list.old
nano /etc/apt/sources.list
So, poke around here until your sources.list looks like the following:
Code: Select all
#deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 kde-CD Binary-1 20090905-09:27]/ lenny main
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
Next, I've added the two lines for the primary Lenny repositories, deb http://ftp.us.debian.org/debian/ lenny. The fact that that was missing is probably the sole source of your problem. WHY it was missing would be nice to figure out. You shouldn't have been left in that state by the installer.
Okay, once you've got everything tweaked, hit ctrl-X, then Y, <Enter> to accept the filename to save to, and you should be back at the prompt.
Now that the most important repository is in your sources.list where it's supposed to be, we need to update your local list of packages that are available. To do that, type:
Code: Select all
aptitude update
Next, let's bring your system into synch with the current versions of everything:
Code: Select all
aptitude -f full-upgrade
If it looks good, tell it to go ahead. When it's done, you should be good to go, finally! Now you can get back to trying to install cups.
Type exit to leave superuser mode, then exit again to close the terminal window.
Assuming you're in a working KDE environment, you should get familiar with Kpackage, if you aren't already. That's the graphical interface to the package management system. You can continue to use the console and aptitude, if you're more comfortable with that. Me, I'm a pointy-clicky guy by preference.
If things don't go as expected, stop and let us know exactly what's happening. Don't forget to give us a clear picture of the situation, including the environment you're operating in, etc.
You shouldn't have run into a problem like this. Package management is one of Debian's best features and normally works fabulously. But, all is not lost. Having to deal with this gives you a chance to get comfortable with fixing things. If you're like me and can't leave stuff alone, that's a pretty valuable ability.
Good luck, Jeff.
Mike D.
Re: Newbe mostly familiar with Fedora
That's service with a smile from Mike.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
I'll give it a try and get back to you. Right now I have Debian on Virtual Box. My VB specs are:
256mb of ram
64mb of Video (can expand that if needed)
8 gs of Dynamicall expanded hd space
Everything installed right away, but it is reacting the same way physical machine is.
My physical machine is as follows
Asus PIII (don't remember what the board is)
Around 500 mgs of ram
256 Nvidia Geoforce 6500 (I think that's it, pretty close anyway)
800mhz PIII processor
Dual booting to Windows XP Home addition
Windows is on a 20g hd
Debian is on the 40g hd.
These are physical drives
I have a network printer Hp Officjet Pro L7580.
Both Debian 5 systems are using the KDE desktop environment. Both are having the same issues as far as packaging.
Long story short, I'll run the stuff you suggest and see where that leads me.
256mb of ram
64mb of Video (can expand that if needed)
8 gs of Dynamicall expanded hd space
Everything installed right away, but it is reacting the same way physical machine is.
My physical machine is as follows
Asus PIII (don't remember what the board is)
Around 500 mgs of ram
256 Nvidia Geoforce 6500 (I think that's it, pretty close anyway)
800mhz PIII processor
Dual booting to Windows XP Home addition
Windows is on a 20g hd
Debian is on the 40g hd.
These are physical drives
I have a network printer Hp Officjet Pro L7580.
Both Debian 5 systems are using the KDE desktop environment. Both are having the same issues as far as packaging.
Long story short, I'll run the stuff you suggest and see where that leads me.
Dual Booting Lenny/XP HE on an old PIII Asus Board with an Nvidia 256 meg card, .5 gigs of ram, 800mhz processor and an Hp Officejet Pro L7580 all wired to a wireless network hub,
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
Thanks Mike. I've finish running it. I some duplicates. I pretty much trashed the whole file, copied and pasted your script, saved, did the update and upgrade and installed cups. Everything ran really smooth and now I'm going over to set up the printer. After your overhall script, Debian handled all the dependencies with out so much as a flinch. Samba even set up.
I'll probably reboot before I do anything else. I'll let you know if the printer sets up smooth.
By the way, is that the best bethod to tell the system what packages to pull from?
Update: I set up the Asus and everything works. I set up hplip from Debian repos. It works.
I'll probably reboot before I do anything else. I'll let you know if the printer sets up smooth.
By the way, is that the best bethod to tell the system what packages to pull from?
Update: I set up the Asus and everything works. I set up hplip from Debian repos. It works.
Last edited by Steelaworkn on 2009-12-16 00:14, edited 1 time in total.
Re: Newbe mostly familiar with Fedora
the way debian is setup is such that any package you install from the official repos will have its dependencies within the official repos, So if you are running stable, you should not run into dependency issues.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
So, I installed cups but my printer is not on the list. Now I am install hplip. Ummm, hplip is not in the Debian repos is it? I know it's in the Fedora Repos. Anyways, it's installing fine with no hick-ups. Oh, and I install VB Guest Additions. There's a lot let to do in Debian than in Fedora for that set up.
Right now I am setting up the VB Debian. When I get it right, I set up my Asus. I'm really wanting a Web Server/Desktop, that's why I'm using the old Asus. I'm still learning. I love Fedora, but Debian is the only Linux I could get on that old Asus asside from Puppy. I tried 3 different versions of Fedora 12, Puppy, Open Solaris (which went on just fine but was really slow), and then Debian. Debian was loaded fine, edited the master boot record, and allows me to dual boot. The only issue, as you know, was the deb files were screwed up.
Any ways. Hplip is still loading on DebianVB. We'll see how that goes.
Right now I am setting up the VB Debian. When I get it right, I set up my Asus. I'm really wanting a Web Server/Desktop, that's why I'm using the old Asus. I'm still learning. I love Fedora, but Debian is the only Linux I could get on that old Asus asside from Puppy. I tried 3 different versions of Fedora 12, Puppy, Open Solaris (which went on just fine but was really slow), and then Debian. Debian was loaded fine, edited the master boot record, and allows me to dual boot. The only issue, as you know, was the deb files were screwed up.
Any ways. Hplip is still loading on DebianVB. We'll see how that goes.
Dual Booting Lenny/XP HE on an old PIII Asus Board with an Nvidia 256 meg card, .5 gigs of ram, 800mhz processor and an Hp Officejet Pro L7580 all wired to a wireless network hub,
Re: Newbe mostly familiar with Fedora
hplip is avialable in lenny. The below shows that v2.8.6 is available. Should be installable with aptitude install hplip.
Code: Select all
$ apt-cache policy hplip
hplip:
<snip>
2.8.6.b-4 0
500 http://debian.mirror.ac.za lenny/main Packages
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
-
- Posts: 74
- Joined: 2009-12-12 20:05
- Location: Camano Island WA
Re: Newbe mostly familiar with Fedora
Ok, thanks. I ended up having to reinstall Debian in VB. I installed Hplip and all the files went right to the desktop. Any way, I reinstalled Lenny, follow the instructions and did aptitude install hplip. Seems to be working. We'll see if it can detect my printer.
Dual Booting Lenny/XP HE on an old PIII Asus Board with an Nvidia 256 meg card, .5 gigs of ram, 800mhz processor and an Hp Officejet Pro L7580 all wired to a wireless network hub,
Re: Newbe mostly familiar with Fedora
Great going, Jeff. I'm glad you've had a chance to see Debian package management doing what it's supposed to. Now...
Who's really snappy with the Debian Bug Tracking System? Wanna do a search?
You downloaded the Lenny w/KDE ia386 binary CD1 iso and burned it, right? I wonder if others can duplicate the problem.
All or most of the above are duplicated over a hundred times by mirror sites around the world. You might say Debian is prepared to survive Armageddon.
There are several different front-ends to the packaging system, but every one of them works with libapt on the back-end, and libapt depends on this sources.list file being right. Editing it by hand is one way to maintain it, and pretty bullet-proof.
In the Gnome desktop (which I use), there is a Software Sources applet in the System>Adminstration menu which lets you make and modify your mirror and repository selections. Synaptic is a complete GUI based package manager (a front-end to libapt, again) that also lets you manage software sources. I'm not KDE-fluent, but I'm under the impressions there's something called kpackage that's part of kdeutils that also provides a graphical front end to package management and software source configuration.
So, in short, there are several different ways to manage your sources.list. Hand editing is the least-common-denominator approach that will work when nothing else does. Some folks find it faster and more certain than dealing with a GUI. I've done it both ways; edit with nano, and both Synaptic and Gnome's GUI widgets.
It seems like, unless we're able to fix the problem, you're going to have to do your install and then fix sources.list before you can do your initial updates and start installing things. That's not really all that bad, since tweaking sources.list right after install is a pretty routine thing to do. I usually do the vanilla install, then add backports and multimedia repos, and that's it until I'm ready to upgrade to the next release! You're just doing a little more than you should have to.
Anyway, it sounds like your Fedora experience has made you comfortable with a lot of what needs to get done. The most confusing thing will be recognizing when those skills are going to screw things up because Debian is different!
Let us know what happens next! Good luck...
Mike D.
This is really weird. Is it possible there's a bug in the installer that's leaving sources.list broken? That would be really strange at this point, given Lenny was released months ago.Steelaworkn wrote:Right now I have Debian on Virtual Box.
Everything installed right away, but it is reacting the same way physical machine is.
...
Both Debian 5 systems are using the KDE desktop environment. Both are having the same issues as far as packaging.
Who's really snappy with the Debian Bug Tracking System? Wanna do a search?
You downloaded the Lenny w/KDE ia386 binary CD1 iso and burned it, right? I wonder if others can duplicate the problem.
The Debian project maintains repositories that contain everything that is part of Debian. In fact, they have a full set of repositories for each of several versions of Debian: Experimental (not a complete distro), Unstable (named Sid), Testing (named Squeeze), Stable (Lenny), and Oldstable (Etch). They also have servers from which you can download the many different versions of the installation disk iso's.Steelaworkn wrote:By the way, is that the best method to tell the system what packages to pull from?
All or most of the above are duplicated over a hundred times by mirror sites around the world. You might say Debian is prepared to survive Armageddon.
There are several different front-ends to the packaging system, but every one of them works with libapt on the back-end, and libapt depends on this sources.list file being right. Editing it by hand is one way to maintain it, and pretty bullet-proof.
In the Gnome desktop (which I use), there is a Software Sources applet in the System>Adminstration menu which lets you make and modify your mirror and repository selections. Synaptic is a complete GUI based package manager (a front-end to libapt, again) that also lets you manage software sources. I'm not KDE-fluent, but I'm under the impressions there's something called kpackage that's part of kdeutils that also provides a graphical front end to package management and software source configuration.
So, in short, there are several different ways to manage your sources.list. Hand editing is the least-common-denominator approach that will work when nothing else does. Some folks find it faster and more certain than dealing with a GUI. I've done it both ways; edit with nano, and both Synaptic and Gnome's GUI widgets.
It seems like, unless we're able to fix the problem, you're going to have to do your install and then fix sources.list before you can do your initial updates and start installing things. That's not really all that bad, since tweaking sources.list right after install is a pretty routine thing to do. I usually do the vanilla install, then add backports and multimedia repos, and that's it until I'm ready to upgrade to the next release! You're just doing a little more than you should have to.
Anyway, it sounds like your Fedora experience has made you comfortable with a lot of what needs to get done. The most confusing thing will be recognizing when those skills are going to screw things up because Debian is different!
Let us know what happens next! Good luck...
Mike D.