Live data from Hacker News

Debian 7.3 is out

debian.org

31–40 of 71 posts

Re: Debian 7.3 is out

#31
I recently gave Debian a try and one thing that surprised me, coming from Arch, is that the tool to install software, apt-get, can't list what software has already been installed. You have to use dkpg to get that information.

Even funnier, I found the answer for that on the Arch Wiki page on Pacmac Rosetta:

https://wiki.archlinux.org/index.php/Pacman_Rosetta

Re: Debian 7.3 is out

#32
post #19
post #8

Earlier quoted context omitted.

As others have mentioned: $ sudo apt-get update && sudo apt-get upgrade In this particular case, from 7.1 to 7.3, "dist-upgrade" is not needed (you aren't upgrading from one distribution to another (e.g. from 6 to 7)).

Well, sometimes you need to dist-upgrade, even when not switching distros.

How would you know when?

Re: Debian 7.3 is out

#33

I recently gave Debian a try and one thing that surprised me, coming from Arch, is that the tool to install software, apt-get, can't list what software has already been installed. You have to use dkpg to get that information. Even funnier, I found the answer for that on the Arch Wiki page on Pacmac Rosetta: https://wiki.archlinux.org/index.php/Pacman_Rosetta

Sort of makes sense if you consider the history behind it: dpkg installs software, not apt-get. apt-get, aptitude, etc. are higher-level dependency resolution tools that simply loop in dpkg to actually install packages. dselect is an older tool that did dependencies before apt-get came around.

RPM distros are similar, as they use higher-level tools to do dependencies (yum, zypper, etc.; there was even apt for RPM) and then RPM to actually install the packages and track them.

Admittedly though Debian's command line tools are stuck in the past in this regard, as the user shouldn't need to care about all this. Arch gets this right by putting it all into pacman.

Re: Debian 7.3 is out

#34

I recently gave Debian a try and one thing that surprised me, coming from Arch, is that the tool to install software, apt-get, can't list what software has already been installed. You have to use dkpg to get that information. Even funnier, I found the answer for that on the Arch Wiki page on Pacmac Rosetta: https://wiki.archlinux.org/index.php/Pacman_Rosetta

Better use aptitude instead of apt-get.

If you want to know which packages are installed: aptitude search '~i'

That command will list all your installed packages and the automagically installed ones will be marked with A.

Re: Debian 7.3 is out

#36
post #2

Better link with more info: http://www.debian.org/News/2013/20131214

Thanks. I was puzzled that there seemed to be no 7.2 to 7.3 release notes or change lists linked from the original URL... just stuff about 7.0.

Re: Debian 7.3 is out

#38

I recently gave Debian a try and one thing that surprised me, coming from Arch, is that the tool to install software, apt-get, can't list what software has already been installed. You have to use dkpg to get that information. Even funnier, I found the answer for that on the Arch Wiki page on Pacmac Rosetta: https://wiki.archlinux.org/index.php/Pacman_Rosetta

Sort of makes sense if you consider the history behind it: dpkg installs software, not apt-get. apt-get, aptitude, etc. are higher-level dependency resolution tools that simply loop in dpkg to actually install packages. dselect is an older tool that did dependencies before apt-get came around. RPM distros are similar, as they use higher-level tools to do dependencies (yum, zypper, etc.; there was even apt for RPM) an…

Debian (and Ubuntu etc.) has a tool available that unifies all the many different commands required for administrating and querying the package system. It's called "wajig". I don't believe it's installed by default, though. I rarely see it suggested, probably because whenever people complain about the complexity of the command-line tools, the answer they get is "use the GUI tools".

Re: Debian 7.3 is out

#39

I recently gave Debian a try and one thing that surprised me, coming from Arch, is that the tool to install software, apt-get, can't list what software has already been installed. You have to use dkpg to get that information. Even funnier, I found the answer for that on the Arch Wiki page on Pacmac Rosetta: https://wiki.archlinux.org/index.php/Pacman_Rosetta

I don't understand what is surprising or funny about that. It's pure Unix philosophy, different commands within a coherent management system.

The opposite would be the surprising thing, this is not Windows. There are managers that do the whole thing in one single executable that calls others, even with GUIs etc, for dumb people.

Re: Debian 7.3 is out

#40
post #16
post #7

Earlier quoted context omitted.

apt-get update && apt-get upgrade There's nothing special about upgrading Debian between point releases.

There's nothing special...except for the actual commands. Empathize with the newbie.

You are supposed to run those commands every day, not just with a point release.

When the newbie installed debian in the first place they were (should have been) told to do that.

(And yes there is a tool that will do it automatically and email you if there are updates - apticron.)

Post reply on HN