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

 

 

 

Package Management in Debian

Here you can discuss every aspect of Debian. Note: not for support requests!

Which one do you like more?

dpkg
1
1%
APT
28
31%
aptitude
41
46%
synaptic
16
18%
tasksel
0
No votes
dselect
2
2%
wajig
0
No votes
OTHER...
1
1%
 
Total votes: 89

Message
Author
User avatar
drokmed
Posts: 1162
Joined: 2007-10-03 19:24
Location: Saint Petersburg, FL

Re: Package Management in Debian

#31 Post by drokmed »

craigevil wrote:As long as Ubuntu uses apt-get it isn't going any where.
Damn good reason to obsolete apt right there! :lol:

(my dry humor again)
Author of the Debian Linux Security Appliance Firewall howto, found here
Thread discussing it is here

anticapitalista
Posts: 429
Joined: 2007-12-14 23:16
Has thanked: 12 times
Been thanked: 13 times

Re: Package Management in Debian

#32 Post by anticapitalista »

apt-get due to habit.
antiX with runit - lean and mean.
https://antixlinux.com

julian516
Posts: 311
Joined: 2010-03-18 20:10
Location: Loveland, CO

Re: Package Management in Debian

#33 Post by julian516 »

apt-get seems to do what I need done, supplemented by synaptic perhaps 20% of the time. I'll confess I do not have a clear handle on aptitude. Perhaps when I do I'll see the advantage, assuming there is one.

User avatar
dotlj
Posts: 646
Joined: 2009-12-25 17:21

Re: Package Management in Debian

#34 Post by dotlj »

There are some differences, but the differences are small.

In searching for example, aptitude search something will return entries that match the name, but tell you if it's installed or not.
apt-cache search something returns a longer list of packages containing the name anywhere but doesn't tell you if any are installed or not.

probably some options for both of them will return the same results. I haven't had any problems with either but follow the recommendation and use aptitude.

User avatar
tdockery97
Posts: 20
Joined: 2010-09-20 05:58
Location: Salem, Oregon

Re: Package Management in Debian

#35 Post by tdockery97 »

Does anyone use debdelta in conjunction with apt-get?
Microsoft isn't evil, they just make really crappy operating systems. - Linus Torvalds
HPG61 Laptop
AMD Sempron M100, 2GHZ, 3GB DDR2
Debian Testing KDE

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5347
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Package Management in Debian

#36 Post by dilberts_left_nut »

Since moving to sid from stable I've started to think about the update bandwidth a bit more :)
Watching aptitude download the full .deb of a package that was only updated a couple of days ago was what started me looking.
I found out about debdelta but haven't had any time yet to investigate it properly.

I thought it's functionality seems like a no-brainer and may have (should?) been implemented by default.
It would save a lot of bandwidth for the mirrors.
AdrianTM wrote:There's no hacker in my grandma...

sir fer
Posts: 923
Joined: 2008-09-10 18:49
Location: Auckland

Re: Package Management in Debian

#37 Post by sir fer »

apt-get and occasionally dpkg...just because that's what I learned first...
Since moving to sid from stable I've started to think about the update bandwidth a bit more :)
You and me both, I have since gone back to testing from sid for this reason. Chromium browser became chronic, being updated every day or 2.

User avatar
edbarx
Posts: 5401
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E
Been thanked: 2 times

Re: Package Management in Debian

#38 Post by edbarx »

debootstrap, err... no, apt-get. [ :lol: joking]
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

#39 Post by llivv »

.
Last edited by llivv on 2019-04-27 17:18, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
stoffepojken
Posts: 705
Joined: 2007-01-25 01:21
Location: Stockholm, Sweden

Re: Package Management in Debian

#40 Post by stoffepojken »

I use Aptitude because Rickh told me so

hkoster1
Posts: 1264
Joined: 2006-12-18 10:10

Re: Package Management in Debian

#41 Post by hkoster1 »

I started out (in Debian) with 'dselect', which isn't one of the poll choices. Ah, 'dselect' needed to be run
repeatedly until all dependencies were resolved (sometimes four or five times). After that, 'apt-get' seemed
a bit like sissy stuff, the way true Debianites regard 'synaptic' these days. Switched to 'aptitude' a couple of
years ago, as it offered (and still offers) excellent conflict resolution choices, which is important when
running testing and/or Sid. That said, there is an occasional use for 'apt-get', such as when 'aptitude' wants
to remove a ton of dependencies and 'apt-get' lets you just remove a single package with surgical precision. 8)

Edit: 'dselect' is a choice now, I notice...
Real Debian users don't do chat...

secipolla
Posts: 1127
Joined: 2010-06-21 14:20

Re: Package Management in Debian

#42 Post by secipolla »

Regarding debdelta.
I think it's great and for a big package that has a relatively small change from the old version to the new one debdelta can make upgrading much faster.
In average, if the user has a fast Internet connection debdelta can be slower than a direct upgrade. debdelta's creator guessed that would apply for connections faster than 300 Kb/s.

debdelta is always an advantage for users that have to pay for bandwidth.

Recently, when running 'debdelta-upgrade' I kept getting "Debdelta is not present" messages for every package. So I wrote the developer and he explained that he had run out of space with his server (which stores the deltas from previous to latest package versions).
Nowadays I still get some of those errors but many are present and work.
debdelta works perfectly and is a great service for people that don't have a reasonably fast Internet connection but I suspect that this potential user base is somewhat voiceless and is located mainly in less richer countries so debdelta doesn't receive a proper appreciation (if it would have a stable server it would be enough).

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: Package Management in Debian

#43 Post by sjukfan »

Aptitude, since I'm a noob.
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

jeffreyC
Posts: 13
Joined: 2010-10-15 17:43

Re: Package Management in Debian

#44 Post by jeffreyC »

Synaptic, I have been using Debian for about twenty days and don't have all 29000 packages memorized (guess I'm slacking)
You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself.
Sam Levenson

User avatar
Absent Minded
Posts: 3464
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.
Been thanked: 3 times

Re: Package Management in Debian

#45 Post by Absent Minded »

jeffreyC wrote:Synaptic, I have been using Debian for about twenty days and don't have all 29000 packages memorized (guess I'm slacking)
Aptitude has a UI if you just su to root and type aptitude and press enter (it even has package descriptions just like Synaptic and is divided in to categories including virtual packages.. go figure, something new everyday). If you get gutsy you can even try the search in aptitude.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012

jeffreyC
Posts: 13
Joined: 2010-10-15 17:43

Re: Package Management in Debian

#46 Post by jeffreyC »

I think I read some where that synaptic is a front end for apt.
Also think it was recommended to stay with apt or aptitude, but I'm not sure if that dates to when some Debian developers or maintainers were hating one or the other ?
Anyway, when I don't use synaptic I use apt.
You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself.
Sam Levenson

Post Reply