-
Senior Member
registered user
Re: apt-get Rolling back changes
--You need to be more specific. What broke, exactly?
--The quick-and-dirty thing to find out what was installed is to:
' ls -tl /var/cache/apt/archives |head ' (you can also pipe output to "less" instead of "head" if you have a lot of packages installed on the same day. You don't have to be root for this.)
--Post the results of that command, and maybe we can try apt-get install pkgname/stable or something.
--Usually when upgrade breaks something, Debian fixes it right away. You might try another update/upgrade a day or so after the last one, and see if it got fixed.
--Here is a script I use for updating my boxes (don't forget to chmod +x it) - #BEGIN /root/bin/updt
Code:
#!/bin/sh
apt-get update
apt-get -u upgrade
#debsort
mv -f -v ~/DEBInstalled.list ~/DEBInstalled.list.prev ; \
dpkg -l >~/DEBInstalled.list
updatedb &
##END
--Now whenever you get packages on your system upgraded, you can ' diff ~/DEBInstalled.list.prev ~/DEBInstalled.list ' and see what changed.
--A final note, it is a VERY good idea to start tracking what you are doing to the system. I use a file called localinfo.dat in root's home dir, and track every new package that gets installed, every pkg that gets removed, hardware upgrades, driver updates, etc. Here's an excerpt:
Code:
2003.0715 + Installed pkg (mplayer-686 w32codecs)
- Removed mplayer-686 and compiled from source (not finding codec)
( ./configure --enable-gui --enable-largefiles --enable-vorbis --enable-xmms
--with-win32libdir=/usr/lib/win32
) -- aalib support errored out.
? Installed mplayer-skin--default-1.7.tar.bz2 into
/usr/local/share/mplayer/Skin, but it's still not finding
the win32 dlls.
! This is getting old REALLY fast.
+ Installed mplayer--qt6dlls.tar.bz2, mplayer--qtextras.tar.bz2
+ :) Now it works - but it keeps crashing at the end of QT videos. :(
++ Changed proftpd.conf for better security (ServerIdent.)
2003.0805 - Removed proftpd (conf file changed)
+ Installed pkg vsftpd
+ Restored /etc/ftpusers file (deleted when proftpd went)
+ Updated stopsvcs
+ Installed pkg bittorrent
2003.0817 + Renamed .xinitrc to .xinitrc-manual and updated .bashrc,
since the way it was had broken plain startx
+ VNC on this box works diff than p233 - the ~/.vncrc is used here.
+ Updated NVIDIA driver to 4496.
2003.0821 + Installed mozilla-browser-snapshot with synaptic
+ Installed pkg aptitude

Originally Posted by
beforewisdom
Hi;
I did 2-3 installs/upgrades yesterday.
Something I did changed something that broke an application I use a lot.
Is there way to get apt-get to rollback everything it did over the past day
( I don't remember everything it did )
Steve
Similar Threads
-
By chris-harry in forum The Lounge
Replies: 5
Last Post: 11-30-2004, 05:35 AM
-
By Craig2 in forum General Support
Replies: 0
Last Post: 04-12-2004, 02:22 PM
-
By rfarmer in forum General Support
Replies: 2
Last Post: 01-30-2004, 01:22 AM
-
By beforewisdom in forum Hardware & Booting
Replies: 2
Last Post: 09-18-2003, 02:17 AM
-
By beforewisdom in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-24-2003, 09:16 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell PowerEdge R750 2x Xeon Gold 6326 96GB 12x1.92TB SSD H755 Win 2022
$4999.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$94.95