Conversation started May 20, 2013 at 18:21.
May 20, 2013 18:21
anil@anil-Inspiron-1420:~$ apt-get -f install
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?
anil@anil-Inspiron-1420:~$ sudo apt-get -f install
[sudo] password for anil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libqtscript4-webkit libqtscript4-qtbindings libqtscript4-phonon
so is there a way to remove and purge the latest install and then redo it... I am just hoping against hope :)
you could try removing older kernels.
@jokerdino you had mentioned this the last time.
how do I do it?
apt-get remove linux-header [tab]
and remove anything less than 30 or something
ok, my net will be off for 10 mins [some policy]
I will follow what you wrote.
But can we deal with this?
"The following NEW packages will be installed:
linux-headers-3.2.0-43 "
obviously these were downloaded to be installed.
yep
it can't install because of lack of space.
May 20, 2013 18:24
so even if my internet had worked perfectly, the same problem would have occurred?
yeah i think so
apt-get remove linux-header [tab] gave me a very long list ... and could not locate package linux-header
hm, [tab] means you should press tab
i get only a dash
go for it
May 20, 2013 18:27
in case net stops, ill be back in 10-15 mins
doing it
tab again
type 3 after dash
anil@anil-Inspiron-1420:~$ sudo apt-get remove linux-headers-
linux-headers-3.2.0-23 linux-headers-3.2.0-35-generic-pae
linux-headers-3.2.0-23-generic-pae linux-headers-3.2.0-36
linux-headers-3.2.0-29 linux-headers-3.2.0-36-generic-pae
linux-headers-3.2.0-29-generic-pae linux-headers-3.2.0-37
linux-headers-3.2.0-30 linux-headers-3.2.0-37-generic-pae
linux-headers-3.2.0-30-generic-pae linux-headers-3.2.0-38
linux-headers-3.2.0-31 linux-headers-3.2.0-38-generic-pae
you can remove a lot of them.
those are the package's name.
sudo apt-get remove <package name>
pretty much remove all the ones below 35
Result same...

anil@anil-Inspiron-1420:~$ sudo apt-get remove linux-headers-3.2.0-23
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-headers-3.2.0-23-generic-pae : Depends: linux-headers-3.2.0-23 but it is not going to be installed
linux-headers-3.2.0-43-generic-pae : Depends: linux-headers-3.2.0-43 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
May 20, 2013 18:43
oh dear. it's a catch
dpkg -r <package>
like dpkg -r linux-headers-3.2.0-23 ?
...

anil@anil-Inspiron-1420:~$ sudo dpkg -r linux-headers-3.2.0-23
dpkg: dependency problems prevent removal of linux-headers-3.2.0-23:
linux-headers-3.2.0-23-generic-pae depends on linux-headers-3.2.0-23.
dpkg: error processing linux-headers-3.2.0-23 (--remove):
dependency problems - not removing
Errors were encountered while processing:
linux-headers-3.2.0-23
anil@anil-Inspiron-1420:~$
May 20, 2013 18:46
remove the generic-pae then
anil@anil-Inspiron-1420:~$ sudo dpkg -r linux-headers-3.2.0-23-generic-pae
(Reading database ... 585580 files and directories currently installed.)
Removing linux-headers-3.2.0-23-generic-pae ...
anil@anil-Inspiron-1420:~$
shall I do the same till 34?
hm, yeah
may the goodness juice be with you.
goodness juice?
good luck.
done till 34. can i also remove the latest installs and retry???
I want to be able to update my ubuntu.
May 20, 2013 18:51
what's the latest installs?
the one that got disrupted, the one that needs dependencies.
anil@anil-Inspiron-1420:~$ apt-get -f install
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?
anil@anil-Inspiron-1420:~$ sudo apt-get -f install
[sudo] password for anil:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libqtscript4-webkit libqtscript4-qtbindings libqtscript4-phonon
twitter? :)
err, try this now sudo dpkg -r linux-headers-3.2.0-23
not root???
I missed the 2nd command
@jokerdino done
anil@anil-Inspiron-1420:~$ sudo dpkg -r linux-headers-3.2.0-23
(Reading database ... 526558 files and directories currently installed.)
Removing linux-headers-3.2.0-23 ...
anil@anil-Inspiron-1420:~$
May 20, 2013 18:54
@katyasehgal until 34
it's already Tuesday and I hate waking up in the morning
@jokerdino ok. you want to sleep.
No. I hate waking up.
@jokerdino we had a holiday this monday :=D
May 20, 2013 18:56
<insert swear words @ dutch>
@jokerdino you can use kut or klote ;-)
yay for non english swear words >:D
@jokerdino done till 34
apt-get -f
sudo! sudo :=D
May 20, 2013 18:58
typed. got a list
ending with this APT has SUper Cow powers
2
cows ftw! :)
err, i meant apt-get -f install
@Rinzwind indeed
I think it happened
what happened?
anil@anil-Inspiron-1420:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libqtscript4-webkit libqtscript4-qtbindings libqtscript4-phonon
libqtscript4-opengl libqtscript4-sql libqtscript4-svg
libqtscript4-xmlpatterns
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-headers-3.2.0-43
May 20, 2013 19:01
finally
finally, i got it right.
cows and jokerdino ftw!!!
so how come it worked now?
@katyasehgal you might regret saying that ;)
@katyasehgal jokerdino eats cows for lunch :X
and you are yet to explain the anil vs katya.
haha
will this happen again... space and all?
@jokerdino I thought you are so busy you will forget
May 20, 2013 19:03
@katyasehgal it might happen.
@katyasehgal haha. I noted it in my diary deep down
@katyasehgal but then you know it is solvable and you know how to solve it too
can I save these steps somehow?
this conversation?
yeah.
you can bookmark it or something
ctrl + s?
May 20, 2013 19:05
this chat has a bookmark feature
 
Conversation ended May 20, 2013 at 19:05.