This the what I get when I run the cmds from Sam
michael@michael-desktop:~$ sudo apt-get purge gnash-common
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
michael@michael-desktop:~$ sudo apt-get purge ibswfdec-0.8-0
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
michael@michael-desktop:~$
michael@michael-desktop:~$ sudo apt-get clean
michael@michael-desktop:~$ sudo apt-get autoremove
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
michael@michael-desktop:~$
michael@michael-desktop:~$ sudo apt-get update
Get:1 http://us.archive.ubuntu.com lucid Release.gpg [189B]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Get:2 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Get:3 http://us.archive.ubuntu.com lucid Release [57.2kB]
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ lucid/main Translation-en_US
Hit http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com/opera/ stable/non-free Translation-en_US
Get:4 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_US
Get:5 http://us.archive.ubuntu.com lucid-updates Release [57.3kB]
Get:6 http://security.ubuntu.com lucid-security Release [57.3kB]
Hit http://archive.canonical.com lucid Release
Hit http://deb.opera.com stable Release
Hit http://ppa.launchpad.net lucid Release
Get:7 http://us.archive.ubuntu.com lucid/main Packages [1,386kB]
Hit http://archive.canonical.com lucid/partner Packages
Ign http://deb.opera.com stable/non-free Packages
Hit http://ppa.launchpad.net lucid/main Packages
Ign http://deb.opera.com stable/non-free Packages
Get:8 http://security.ubuntu.com lucid-security/main Packages [417kB]
Hit http://deb.opera.com stable/non-free Packages
Get:9 http://us.archive.ubuntu.com lucid/restricted Packages [6,208B]
Get:10 http://us.archive.ubuntu.com lucid/main Sources [659kB]
Get:11 http://security.ubuntu.com lucid-security/restricted Packages [2,855B]
Get:12 http://security.ubuntu.com lucid-security/main Sources [124kB]
Get:13 http://security.ubuntu.com lucid-security/restricted Sources [1,259B]
Get:14 http://security.ubuntu.com lucid-security/universe Packages [131kB]
Get:15 http://us.archive.ubuntu.com lucid/restricted Sources [3,775B]
Get:16 http://us.archive.ubuntu.com lucid/universe Packages [5,448kB]
Get:17 http://security.ubuntu.com lucid-security/universe Sources [40.8kB]
Get:18 http://security.ubuntu.com lucid-security/multiverse Packages [5,370B]
Get:19 http://security.ubuntu.com lucid-security/multiverse Sources [2,316B]
Get:20 http://us.archive.ubuntu.com lucid/universe Sources [3,165kB]
Get:21 http://us.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:22 http://us.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:23 http://us.archive.ubuntu.com lucid-updates/main Packages [617kB]
Get:24 http://us.archive.ubuntu.com lucid-updates/restricted Packages [4,617B]
Get:25 http://us.archive.ubuntu.com lucid-updates/main Sources [222kB]
Get:26 http://us.archive.ubuntu.com lucid-updates/restricted Sources [2,194B]
Get:27 http://us.archive.ubuntu.com lucid-updates/universe Packages [270kB]
Get:28 http://us.archive.ubuntu.com lucid-updates/universe Sources [101kB]
Get:29 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:30 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [5,818B]
Fetched 13.1MB in 50s (260kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
michael@michael-desktop:~$ sudo apt-get upgradesudo apt-get purge gnash-common
E: Invalid operation upgradesudo
michael@michael-desktop:~$ sudo apt-get purge ibswfdec-0.8-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ibswfdec-0.8-0
michael@michael-desktop:~$
michael@michael-desktop:~$ sudo apt-get clean
michael@michael-desktop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
dkms gnome-mplayer libboost-date-time1.40.0 libboost-thread1.40.0 libdiscid0 libmusicbrainz3-6 libqt3-mt libswfdec-0.8-0
linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic patch
0 upgraded, 0 newly installed, 11 to remove and 1 not upgraded.
After this operation, 97.7MB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
michael@michael-desktop:~$ apt-get autoremove linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic patch
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?
michael@michael-desktop:~$