Jag har installerat Lubuntu 12.04 och Xubuntu 12.04, för att testa. Men nu vill jag inte ha dem längre utan vill ta bort dem från scratch. Så jag kollar i /var/log/apt/history.log och hittar infon om alla paket jag installerade. Problemet är bara att listan ser ut såhär:
Kod: Markera allt
lxsession:amd64 (0.4.6.1+git20120214-0ubuntu1, automatic), lxpanel-indicator-applet-plugin:amd64 (0.5.8+git20120212-0ubuntu3), sylpheed-doc:amd64 (20030310-2), libguess1:amd64 (1.1-1, automatic), libgmtk0-data:amd64 (1.0.5-1, automatic), lubuntu-core:amd64 (0.38), libgringotts2:amd64 (1.2.10~pre3-1, automatic), transmission:amd64 (2.51-0ubuntu1), lubuntu-default-settings:amd64 (0.27), audacious:amd64 (3.2.1-2), wvdial:amd64 (1.61-4build1), lxterminal:amd64 (0.1.11-2ubuntu1), elementary-icon-theme:amd64 (2.7.1-0ubuntu6, automatic), gdebi:amd64 (0.8.5build1), libuniconf4.6:amd64 (4.6.1-2build1, automatic), ace-of-penguins:amd64 (1.3-6), libfm-data:amd64 (0.1.17-0ubuntu3, automatic), libfluidsynth1:amd64 (1.1.5-2, automatic), chromium-browser:amd64 (18.0.1025.151~r130497-0ubuntu1), hardinfo:amd64 (0.5.1-1.1ubuntu5), libwvstreams4.6-extras:amd64 (4.6.1-2build1, automatic), lxtask:amd64 (0.1.4-1), galculator:amd64 (1.3.4-1ubuntu4, automatic), plymouth-theme-lubuntu-logo:amd64 (0.27), libopts25:amd64 (5.12-0.1ubuntu1, automatic), lxappearance:amd64 (0.5.1-1ubuntu1), openbox-themes:amd64 (1.0.2, automatic), libgmtk0:amd64 (1.0.5-1, automatic), obconf:amd64 (2.0.3+git20110808-1, automatic), mtpaint:amd64 (3.31-5), uvcdynctrl:amd64 (0.2.1-1build1, automatic), libpisock9:amd64 (0.12.5-4ubuntu1, automatic), lubuntu-icon-theme:amd64 (0.27, automatic), osmo:amd64 (0.2.10+svn922-2), libbs2b0:amd64 (3.1.0+dfsg-2ubuntu1, automatic), gdebi-core:amd64 (0.8.5build1, automatic), libobrender27:amd64 (3.5.0-2ubuntu2, automatic), audacious-plugins:amd64 (3.2.1-4, automatic), mplayer2:amd64 (2.0-426-gc32b3ed-2, automatic), guvcview:amd64 (1.5.3-0ubuntu1), lxrandr:amd64 (0.1.2-1ubuntu1), pcmanfm:amd64 (0.9.10-0ubuntu2, automatic), gnome-icon-theme-full:amd64 (3.4.0-0ubuntu1, automatic), libcue1:amd64 (1.4.0-1, automatic), libmenu-cache1:amd64 (0.3.2-2.1ubuntu1, automatic), libmcrypt4:amd64 (2.5.8-3.1, automatic), sylpheed-plugins:amd64 (3.2.0~beta5-1ubuntu1), lxlauncher:amd64 (0.2.2-1ubuntu2), libbinio1ldbl:amd64 (1.4-14, automatic), audacious-plugins-data:amd64 (3.2.1-4, automatic), chromium-browser-l10n:amd64 (18.0.1025.151~r130497-0ubuntu1, automatic), libaudclient2:amd64 (3.2.1-2, automatic), chromium-codecs-ffmpeg:amd64 (18.0.1025.151~r130497-0ubuntu1, automatic), libesd0:amd64 (0.2.41-10build3, automatic), lxkeymap:amd64 (0.7.99+dfsg-0ubuntu1), lxsession-edit:amd64 (0.2.0-1ubuntu2), libfm-gtk1:amd64 (0.1.17-0ubuntu3, automatic), giblib1:amd64 (1.2.4-8, automatic), lxinput:amd64 (0.3.1-1ubuntu1), libonig2:amd64 (5.9.1-1, automatic), sylpheed:amd64 (3.2.0~beta5-1ubuntu1), lxappearance-obconf:amd64 (0.2.0~git20120311-0ubuntu1), lm-sensors:amd64 (3.3.1-2ubuntu1, automatic), plymouth-theme-lubuntu-text:amd64 (0.27), openbox:amd64 (3.5.0-2ubuntu2), ntp:amd64 (4.2.6.p3+dfsg-1ubuntu3), xfonts-100dpi:amd64 (1.0.3, automatic), esound-common:amd64 (0.2.41-10build3, automatic), lxmenu-data:amd64 (0.1.2-1, automatic), sylpheed-i18n:amd64 (3.2.0~beta5-1ubuntu1, automatic), gecko-mediaplayer:amd64 (1.0.4-2ubuntu1), libfm1:amd64 (0.1.17-0ubuntu3, automatic), libmowgli2:amd64 (0.7.1-1, automatic), libwebcam0:amd64 (0.2.1-1build1, automatic), lubuntu-artwork:amd64 (0.27), uvcdynctrl-data:amd64 (0.2.1-1build1, automatic), gpicview:amd64 (0.2.2-1ubuntu1), lubuntu-desktop:amd64 (0.38), libaudcore1:amd64 (3.2.1-2, automatic), python-xklavier:amd64 (0.4-2build1, automatic), libcompfaceg1:amd64 (1.5.2-5, automatic), xpad:amd64 (4.0-5ubuntu2), libvdpau1:amd64 (0.4.1-3ubuntu1, automatic), lxshortcut:amd64 (0.1.2-1, automatic), lxpanel:amd64 (0.5.8+git20120212-0ubuntu3), libwvstreams4.6-base:amd64 (4.6.1-2build1, automatic), scrot:amd64 (0.8-13, automatic), libimlib2:amd64 (1.4.4-1build1, automatic), libgmlib0:amd64 (1.0.5-1, automatic), python-pysqlite2:amd64 (2.6.3-2build1, automatic), lubuntu-artwork-12-04:amd64 (0.27, automatic), gnome-mplayer:amd64 (1.0.5-1, automatic), lubuntu-software-center:amd64 (0.0.5~bzr135-0ubuntu1), libobt0:amd64 (3.5.0-2ubuntu2, automatic), libfm-gtk-data:amd64 (0.1.17-0ubuntu3, automatic), libaudiofile1:amd64 (0.3.3-2, automatic)
T. ex: scrot:amd64 (0.8-13, automatic), så tar jag bort så att bara scrot är kvar. Det borde väl funka med typ sed, men jag har ingen aning om hur jag skriver ut det. Sen vore det fint om man kunde spara det som blir kvar i en textfil.
Så det borde väl bli nåt såhär:
sed filen > utfilen
Vore tacksam för hjälp