Updating Packages Using Apt On Old Debian Installs

When attempting to install a new package or update an existing package if you are presented with the error E: Release file expired, ignoring http://archive.debian.org/debian-archive/debian/dists/squeeze-lts/Release (invalid since 189d 0h 42min 32s) You will need to execute the following command as root: $ echo ‘Acquire::Check-Valid-Until “false”;’ > /etc/apt/apt.conf.d/90ignore-release-date And then perform… $ apt update or if you are using aptitude… $ aptitude update You may need to execute the above command twice to make sure everything Read more…

Share

Adding apps to the Finder Toolbar

Where before you could simply drag any icon up to the Finder toolbar and hold it there for a second to add it, you now need to first hold down Option+Command and then start dragging the desired icon to the toolbar. You can still remove the icons the same way as before: holding down Command, dragging the icon away from the toolbar and then releasing.

Share

History support for PERL CPAN

If you are like me, every time you go to install a new perl module you realize the system doesn’t have command line history support and have to go hunting for the correct module to install. A Little Bit Of History This option, provided you have Term::ReadLine::Perl or Term::ReadLine::Gnu installed, will give your CPAN command line interface history support. It’s questions deal with the location of the histfile and how many lines it should save. Read more…

Share