Bug#707076: [less] Debian Jessie loss “less”

On May 4 2013,  Debian Wheezy was released. I run

root@alessio-hp:~# aptitude dist-upgrade

and saw that less is removed! I tried unsuccessfully:

root@alessio-hp:~# aptitude install less
The following NEW packages will be installed:
  less 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/135 kB of archives. After unpacking 293 kB will be used.
The following packages have unmet dependencies:
 man-db : Breaks: less (< 456) but 444-4 is to be installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     less [Not Installed]                               



Accept this solution? [Y/n/q/?] n

*** No more solutions available ***

Ok, man-db needs less >= 456. Let’s download it and install manually. Start from http://packages.debian.org/sid/less and choose an appropriate URL:

root@alessio-hp:~# wget http://ftp.us.debian.org/debian/pool/main/l/less/less_456-1_amd64.deb
--2013-05-08 10:51:46--  http://ftp.us.debian.org/debian/pool/main/l/less/less_456-1_amd64.deb
Resolving ftp.us.debian.org (ftp.us.debian.org)... 128.30.2.36, 128.61.240.89, 64.50.233.100, ...
Connecting to ftp.us.debian.org (ftp.us.debian.org)|128.30.2.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 132746 (130K) [application/x-debian-package]
Saving to: ‘less_456-1_amd64.deb’

100%[====================================================================================================================================================>] 132,746      145KB/s   in 0.9s   

2013-05-08 10:51:47 (145 KB/s) - ‘less_456-1_amd64.deb’ saved [132746/132746]

root@alessio-hp:~# dpkg -i less_456-1_amd64.deb 
Selecting previously unselected package less.
(Reading database ... 175977 files and directories currently installed.)
Unpacking less (from less_456-1_amd64.deb) ...
Setting up less (456-1) ...
Processing triggers for mime-support ...
Processing triggers for man-db ...

That’s a quite simple trick until Debian’s repos will be fixed.

Leave a comment