сборка deb-src

Вспомогательные программы
apt-get install debhelper build-essential

Скачать исходники из репозитория
apt-get source package

Распаковать
dpkg-source -x fluxbox_0.9.15.1+1.0rc2-1.dsc

Установить зависимые пакеты для сборки
apt-get build-dep fluxbox

cd fluxbox_0.9.15.1

Проверить зависимости
dpkg-checkbuilddeps

dch -i
fakeroot ./debian/rules binary

http://www.debian.org/doc/manuals/maint-guide/build.ru.html

Debian packages downgrade

Set the "/etc/apt/preferences" file as the following.

Package: *
Pin: release a=stable
Pin-Priority: 1010

Run "aptitude full-upgrade" to force downgrading of packages across the system.

Remove this special "/etc/apt/preferences" file after this emergency downgrading.

Как найти "лишние" файлы в системе:

Создаем список файлов из пакетов:

dpkg -l | grep -E '^.(i|c)' | awk '{print $2}' | xargs -n1 dpkg -L > files.dpkg

Создаем список всех файлов:

find / -xdev -type f > files.all

Выводим лишние:

grep -x -F -v -f files.dpkg files.all | less

List installed deb packages by size

dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n

User tags

centos 7 tar exim4 profiling perl debian sysfs drupal HDFS dns video alsa gtk xargs arch Adaptec ansible mysql bash su raid5 sysctl.conf vim mount search qemu cpanm gdb tin glusterfs ha encrypt .htaccess perlbrew StorMan storage grub virtualbox hotplug pulseaudio keyboard vrrp slab arping elliptics vrrpd cfq HTTPS dhclient PXE DRBD LVM PTR SSD lubuntu tiger iptables swap scsi sftp rtl8723be bacula LSI rsync in-addr.arpa php lxc sublime quagga ipmitool fio AMD tftp build initrd SYN equalizer tun lstat ubuntu cgroups kernel ipmi gpg mkfs idmapd SpamAssassin ps etch routing asoundrc tzdata find hdparm fail2ban shellshock bind ulimit MODx mariadb NFS iowait chromium nvidia top iops puppet sysctl tool replication jackd netfilter security erase newgrp CentOS xhost APU debootstrap groups backtrace CPAN sg cpu usage sysrq java flash htop dovecot numa cluster language qcow2 core dump wget alien regex soa leap second opcontrol xfs freedos bridge gre limit_conn lts git openvpn ip OpenSSL xen RT KVM Swift route radeon raid nfs4 usb iostat bonding firefox exim glxinfo corosync apache wordpress docker-compose chroot dstat zRam SuperMicro graylog2 rkhunter parallel vtysh source arp pacemaker cache deb cpu youtube noop pvmove opreport nginx bug virsh oprofile dhcp ardour ddos sysresccd lenny squeeze apt mdadm rtsp Areca 3Ware vlan fido7 /etc/network/interfaces X forwarding bscan docker MegaRAID boot pam taskset munin rpm dpkg shorewall ssh Salt conntrack iSCSI backup proxy performance virt-install OpenStack