Skip to content

Instantly share code, notes, and snippets.

Created May 31, 2012 16:47
Show Gist options
  • Save anonymous/2844685 to your computer and use it in GitHub Desktop.
Save anonymous/2844685 to your computer and use it in GitHub Desktop.
riki@Vectra:~$ cat .profile
[...]
alias aptitude='sudo aptitude'
riki@Vectra:~$ aptitude install gphoto2 gphotofs
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
riki@Vectra:~$ . .profile
riki@Vectra:~$ aptitude install gphoto2 gphotofs
The following NEW packages will be installed:
gphotofs
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.5 kB of archives. After unpacking 86.0 kB will be used.
Get:1 http://debian.dynamica.it/debian/ squeeze/main gphotofs i386 0.4.0-3 [16.5 kB]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment