Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
04-22-2011, 07:33 AM
|
#16
|
|
Member
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 594
Rep:
|
Quote:
Originally Posted by gujedan
those things require way too much work, I'm probably just gonna go with rewriting the necessary components of a major distro
|
and that does not require too much work? m come on... 
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
04-22-2011, 07:42 AM
|
#17
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,172
|
Quote:
Originally Posted by gujedan
those things require way too much work, I'm probably just gonna go with rewriting the necessary components of a major distro
|
Slackware is a major distro and has package management without dependency-checking. Would be much less work to install that, instead of re-inventing the wheel. Don't forget to remove the check for mounted filesystems in fsck and your backup for frequently reinstalling because of a broken system.
|
|
|
|
04-22-2011, 09:58 AM
|
#18
|
|
Member
Registered: Oct 2010
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by utanja
and that does not require too much work? m come on... 
|
actually not as in this context 'necessary' means only what needs to be changed, right now that only includes apt-get and synaptics.
Quote:
Originally Posted by TobiSGD
Slackware is a major distro and has package management without dependency-checking. Would be much less work to install that, instead of re-inventing the wheel. Don't forget to remove the check for mounted filesystems in fsck and your backup for frequently reinstalling because of a broken system.
|
I still want dependency-checking, but I want to be able to skip that whenever I want to.
I've tried Slackware - the number of packages available is much, much lower and often you find yourself compiling from source (2/3 of the times it does not really work out and you end up googling for 2 hours for the solution). Things take tons of time to get to work and sometimes they simply don't work, whatever you do. (maybe that's just my lack of knowledge but those are my experiences with Slackware)
As for the backup part I've never had to reinstall my system or any part of it. Everything works flawlessly regardless of the 'broken' status of some packages.
Last edited by gujedan; 04-22-2011 at 10:06 AM.
|
|
|
|
04-22-2011, 10:18 AM
|
#19
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,172
|
Quote:
Originally Posted by gujedan
Everything works flawlessly regardless of the 'broken' status of some packages.
|
No, not everything works flawlessly. Your package-manager does not.
But every one to his own. I just don't see the point in changing your package management instead of just fixing your issues. But it is up to you to do with your system what you want.
|
|
|
|
04-23-2011, 02:24 PM
|
#20
|
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep: 
|
OK, will you run this, in that order, for start that is:
Code:
apt-get update
apt-get autoremove
apt-get clean
apt-get autoclean
dpkg --configure -a
apt-get update
Then try to install whatever and if needed use -f.
Also if you will post the output of:
Code:
apt-show-versions -u
If needed install apt-show-versions.
Btw, what's your DE?
Last edited by alan_ri; 04-23-2011 at 02:46 PM.
|
|
|
|
04-24-2011, 04:47 AM
|
#21
|
|
Member
Registered: Oct 2010
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by alan_ri
OK, will you run this, in that order, for start that is:
Code:
apt-get update
apt-get autoremove
apt-get clean
apt-get autoclean
dpkg --configure -a
apt-get update
Then try to install whatever and if needed use -f.
|
The whole point of this is not to use -f or autoremove because that would uninstall some packages I need.
Quote:
Originally Posted by alan_ri
Also if you will post the output of:
Code:
apt-show-versions -u
If needed install apt-show-versions.
|
Code:
apache2.2-bin/squeeze upgradeable from 2.2.16-6 to 2.2.16-6+squeeze1
base-files/squeeze upgradeable from 6.0 to 6.0squeeze1
bind9-host/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
console-setup/squeeze upgradeable from 1.68 to 1.68+squeeze2
desktop-base/squeeze upgradeable from 6.0.5 to 6.0.5squeeze1
dnsutils/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
gdm3/squeeze upgradeable from 2.30.5-6 to 2.30.5-6squeeze2 <------------------------------- my DE
gedit/squeeze upgradeable from 2.30.4-1 to 2.30.4-1squeeze1
gedit-common/squeeze upgradeable from 2.30.4-1 to 2.30.4-1squeeze1
gnome-screensaver/squeeze upgradeable from 2.30.0-2 to 2.30.0-2squeeze1
host/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
isc-dhcp-client/squeeze upgradeable from 4.1.1-P1-15+squeeze1 to 4.1.1-P1-15+squeeze2
isc-dhcp-common/squeeze upgradeable from 4.1.1-P1-15+squeeze1 to 4.1.1-P1-15+squeeze2
keyboard-configuration/squeeze upgradeable from 1.68 to 1.68+squeeze2
libbind9-60/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
libdns69/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
libisc62/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
libisccc60/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
libisccfg62/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
liblwres60/squeeze upgradeable from 1:9.7.2.dfsg.P3-1.1 to 1:9.7.3.dfsg-1~squeeze1
libmozjs2d/squeeze upgradeable from 1.9.1.16-5 to 1.9.1.16-6
libnautilus-extension1/squeeze upgradeable from 2.30.1-2 to 2.30.1-2squeeze1
libnm-glib-vpn1/squeeze upgradeable from 0.8.1-6 to 0.8.1-6+squeeze1
libnm-glib2/squeeze upgradeable from 0.8.1-6 to 0.8.1-6+squeeze1
libnm-util1/squeeze upgradeable from 0.8.1-6 to 0.8.1-6+squeeze1
libnss3-1d/squeeze upgradeable from 3.12.8-1 to 3.12.8-1+squeeze1
libpulse-mainloop-glib0/squeeze upgradeable from 0.9.21-3 to 0.9.21-3+squeeze1
libpulse0/squeeze upgradeable from 0.9.21-3 to 0.9.21-3+squeeze1
libtiff4/squeeze upgradeable from 3.9.4-5 to 3.9.4-5+squeeze1
libvlc5/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
libvlccore4/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
linux-base/squeeze upgradeable from 2.6.32-30 to 2.6.32-31
linux-image-2.6.32-5-686/squeeze upgradeable from 2.6.32-30 to 2.6.32-31
nautilus/squeeze upgradeable from 2.30.1-2 to 2.30.1-2squeeze1
nautilus-data/squeeze upgradeable from 2.30.1-2 to 2.30.1-2squeeze1
python/squeeze upgradeable from 2.6.6-3+squeeze5 to 2.6.6-3+squeeze6
python-minimal/squeeze upgradeable from 2.6.6-3+squeeze5 to 2.6.6-3+squeeze6
sudo/squeeze upgradeable from 1.7.4p4-2.squeeze.1 to 1.7.4p4-2.squeeze.2
ttf-liberation/squeeze upgradeable from 1.05.2.20091019-4 to 1.05.2.20091019-4squeeze1
tzdata/squeeze upgradeable from 2010o-1 to 2011c-0squeeze1
usb-modeswitch-data/squeeze upgradeable from 20100826-1 to 20100826-1+squeeze0
vlc/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
vlc-data/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
vlc-nox/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
vlc-plugin-notify/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
vlc-plugin-pulse/squeeze upgradeable from 1.1.3-1squeeze3 to 1.1.3-1squeeze5
x11-xserver-utils/squeeze upgradeable from 7.5+2 to 7.5+3
xserver-common/squeeze upgradeable from 2:1.7.7-11 to 2:1.7.7-13
xserver-xephyr/squeeze upgradeable from 2:1.7.7-11 to 2:1.7.7-13
xserver-xorg-core/squeeze upgradeable from 2:1.7.7-11 to 2:1.7.7-13
xserver-xorg-video-intel/squeeze upgradeable from 2:2.13.0-5 to 2:2.13.0-6
xulrunner-1.9.1/squeeze upgradeable from 1.9.1.16-5 to 1.9.1.16-6
|
|
|
|
04-24-2011, 06:51 AM
|
#22
|
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep: 
|
Well, I will tell you like this;
Dependencies are there for a reason and APT is configured so that it works in a way that would be useful for the majority of people who use it and APT itself does not allow broken package dependencies to exist on a system, but if someone wants to break his/her system, well I say, just do it.
APT will not brake your system, that you have to do by yourself.
You didn't want to say what do you want to install exactly, if you did, maybe something could've been done.
Just to clarify;
Quote:
|
-f --fix-broken Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. Any Package that are specified must completely correct the problem. The option is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. It is possible that a system's dependency structure can be so corrupt as to require manual intervention (which usually means using dselect or dpkg --remove to eliminate some of the offending packages). Use of this option together with -m may produce an error in some situations. Configuration Item: APT::Get::Fix-Broken. -m --ignore-missing --fix-missing Ignore missing packages; If packages cannot be retrieved or fail the integrity check after retrieval (corrupted package files), hold back those packages and handle the result. Use of this option together with -f may produce an error in some situations. If a package is selected for installation (particularly if it is mentioned on the command line) and it could not be downloaded then it will be silently held back. Configuration Item: APT::Get::Fix-Missing. --no-download Disables downloading of packages. This is best used with --ignore-missing to force APT to use only the .debs it has already downloaded.
|
To note something, you can always install package manually, APT will automagically call dpkg when needed too.
Three links where you can read about some options how to modify and use APT, even if you want to effectively brake your system;
http://linux.die.net/man/8/apt-get
http://linux.die.net/man/5/apt.conf
http://linux.die.net/man/5/apt_preferences
And finally;
http://manpages.debian.net/cgi-bin/m...html&locale=en
http://manpages.debian.net/cgi-bin/m...html&locale=en
http://www.debian.org/doc/FAQ/ch-pkgtools.en.html
|
|
|
|
04-24-2011, 09:10 AM
|
#23
|
|
Member
Registered: Oct 2010
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by alan_ri
Well, I will tell you like this;
Dependencies are there for a reason
|
Actually they aren't always there for a reason. Good example: metapackages (imo the most stupid idea ever, they should be banned). When you install gnome in debian it comes with a ton of pointless crap it 'depends' on in the package management system, but actually can run just fine without it.
|
|
|
|
04-24-2011, 09:43 PM
|
#24
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,580
|
Quote:
Originally Posted by gujedan
Actually they aren't always there for a reason. Good example: metapackages
|
Then don't install the meta packages. I generally don't use them.
Evo2.
|
|
|
|
04-24-2011, 11:29 PM
|
#25
|
|
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing
Posts: 1,671
|
Quote:
Originally Posted by evo2
Then don't install the meta packages. I generally don't use them.
Evo2.
|
Yup, kind of an easy fix for that problem.
|
|
|
|
04-25-2011, 12:33 AM
|
#26
|
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Sid/Experimental
Posts: 1,820
|
I can't help but think this is taking the "freedom" aspect of Linux a little to far. Do a mini install and only put in what you want, better still go LFS and build your own package management system.
|
|
|
|
04-25-2011, 04:26 AM
|
#27
|
|
Member
Registered: Oct 2010
Posts: 121
Original Poster
Rep:
|
okay, thanks for all the suggestions. can someone please point me to a site where I can download non-meta .deb gnome packages as I'm having a hard time finding one.
|
|
|
|
04-25-2011, 04:40 AM
|
#28
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,172
|
you can get all packages directly from Debian.
|
|
|
|
04-25-2011, 06:11 AM
|
#29
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,580
|
Just pick the packages that you want. For example look at what the "gnome" meta package depends on, and from that list install only the packages that you want. To see the list of packages you can do:
Code:
apt-cache show gnome | grep ^Depends
For this particular case I think you'll find that one of the dependencies (gnome-desktop-environment) is also a type of meta package, so just do the same thing with that package:
Code:
apt-cache show gnome-desktop-environment | grep ^Depends
HTH,
Evo2.
|
|
|
|
04-25-2011, 06:33 AM
|
#30
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,172
|
Quote:
Originally Posted by evo2
Just pick the packages that you want. For example look at what the "gnome" meta package depends on, and from that list install only the packages that you want. To see the list of packages you can do:
Code:
apt-cache show gnome | grep ^Depends
For this particular case I think you'll find that one of the dependencies (gnome-desktop-environment) is also a type of meta package, so just do the same thing with that package:
Code:
apt-cache show gnome-desktop-environment | grep ^Depends
HTH,
Evo2.
|
Ou you use
Code:
apt-cache depends gnome
|
|
|
2 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|