Brain a.k.a. thief

Spalis 19, 2009

“E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.”

Įrašyta kategorijoje: Linux, Repair — brainthief @ 6:51 am

Problems:

  • “E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.”
  • dpkg: too many errors, stopping
    dpkg: ../../src/packages.c:252: process_queue: Assertion `!queuelen’ failed.

Solutions:

cat /etc/lsb-release
uname -a

answer:

administrator@macserv:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION=”Ubuntu 8.04″
administrator@macserv:~$ uname -a
Linux macserv 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux

then:

sudo mkdir /var/run/dbus
sudo apt-get update
sudo dpkg –configure -a

dar padeda:

apt-get install -f

Spalis 13, 2009

Network manager

Įrašyta kategorijoje: Linux, Repair — brainthief @ 10:50 am

hmm, interesting. not sure what i did that my have fixed this, but now my wired connection is downloading updates at about 800kB/s.

I removed and re-installed the network-manager.

$ sudo apt-get remove network-manager network-manager-gnome

then i set my wired connection to use a static address:
$ sudo vim /etc/network/interfaces

stuck this in there:

auto eth0
iface eth0 inet static
address 192.168.1.203
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1

did a:
$ sudo /etc/init.d/networking restart

manually entered in one of my ISP’s DNS servers:

$ sudo vi /etc/resolv.conf

stuck something similar to this in there:

nameserver x.x.x.x

do another:
$ sudo /etc/init.d/networking restart

did a:

$ sudo reboot

and after the system came back up i started to run the updates and everything started to download really fast.

i don’t know if removing and re-installing network-manager had anything to do with it, perhaps not, or if setting the IP management from DHCP to static had anything to do with it either; just sharing what I did before it started working.

Spalis 12, 2009

Remove old kernels…

Įrašyta kategorijoje: Repair — brainthief @ 1:38 pm

to delete unneeded kernels, open synsptic and search for linux-image. Mark your older images for complete deletion. This will remove the extra files and also prurge the entry form the grub menu list. I usually leave the kernel before the one I am currently running as a type of fallback position in case something goes wrong with the current kernel.

Spalis 10, 2009

CSNW

Įrašyta kategorijoje: Repair — brainthief @ 11:03 am

You will have to remove all NOVELL protocols before CSNW will automatically uninstall. To do this you will have to right-click your “Network Places” or go through the Control Panel and Network settings.

I believe you actually have to “Remove” or “Uninstall” the Novell components, I don’t think simply unbinding them will work.

Sorry if my terminology is incorrect, I use Win2K so I don’t know if stuff has been renamed in XP.

Good luck & hope this helps :)

Spalis 9, 2009

Ubuntu upgrades

Įrašyta kategorijoje: Server — brainthief @ 8:12 am

https://help.ubuntu.com/community/UpgradeNotes

Blog at WordPress.com.