libgnome-desktop-2 missing distribution upgrade to 9.04 failed

Asked by mohsanzaki

Binary package hint: debconf

every time my computer goes for an upgrade; the following message shows up in a pop up.

"
E: /var/cache/apt/archives/mawk_1.3.3-11.1ubuntu1_i386.deb: files list file for package `libgnome-desktop-2' is missing final newline
"

Please help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu debconf Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Chris Coulson (chrisccoulson) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

Hi,

First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm /var/lib/dpkg/info/*
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm /var/lib/apt/lists/*
sudo mkdir /var/lib/apt/lists/partial
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Step 3: Please ignore any error messages you might see along the way and post the results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

Revision history for this message
mohsanzaki (mohsanzaki) said :
#3

i've executed every command suggested by you and the same message appeared again.

E:/var/cache/apt/archives/adblock-plus_0.7.5.4-0ubuntu3_all.deb: files list file for package 'libgnome-desktop-2' is missing final newline

before downloading 400+ megs, i've tried installing a single file using add/remove programs. and the above mentioned message appeared on the screen. please help.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

OK, my previous procedure was a little buggy and needed some improvements.

So please try this procedure instead.

Make sure to copy-paste the lines below. Please do not try to type them manually.

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/info
sudo mkdir /var/lib/dpkg/info
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm /var/lib/apt/lists/*
sudo mkdir /var/lib/apt/lists/partial
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo apt-get remove libgnome-desktop-2 --purge
sudo aptitude install libgnome-desktop-2
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

Revision history for this message
mohsanzaki (mohsanzaki) said :
#5

it has done this to my computer. i saw your instruction when i finished
executing them. but now my computer is in a mess.

i've installed adblock plus (small prgrm) but i still doubt that these
issues will come again when i'll start upgrading from my old version of
ubuntu to newer version.

thanks.

On Sat, Sep 5, 2009 at 1:09 AM, Mark Rijckenberg <
<email address hidden>> wrote:

> Your question #81905 on debconf in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/debconf/+question/81905
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> OK, my previous procedure was a little buggy and needed some
> improvements.
>
> So please try this procedure instead.
>
> Make sure to copy-paste the lines below. Please do not try to type them
> manually.
>
> Step 1: Open Terminal from "Applications->Accessories->
> Terminal"
>
> Step 2: Please COPY-PASTE each line below into the Terminal then hit
> <enter> after each line)
>
> sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
> sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
> sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
> sudo rm -rf /var/lib/dpkg/info
> sudo mkdir /var/lib/dpkg/info
> sudo rm -rf /var/lib/dpkg/updates/*
> sudo rm /var/lib/apt/lists/*
> sudo mkdir /var/lib/apt/lists/partial
> sudo aptitude clean
> sudo aptitude autoclean
> sudo apt-get update
> sudo apt-get remove libgnome-desktop-2 --purge
> sudo aptitude install libgnome-desktop-2
> sudo dpkg --clear-avail
> sudo dpkg --configure -a
> sudo aptitude install -f
> sudo aptitude update
> sudo aptitude dist-upgrade
>
>
> Step 3: Please post results (copy/paste terminal output from each
> command) on this thread
>
>
> Hope it helps,
>
>
> Regards,
>
>
> Mark
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/debconf/+question/81905/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/debconf/+question/81905
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
death; the leveler.
+92-343-4004002

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#6

Try reinstalling Ubuntu 9.04 from a LiveCD session to get rid of the dpkg errors.

Revision history for this message
mohsanzaki (mohsanzaki) said :
#7

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
mohsanzaki (mohsanzaki) said :
#8

l have ready adopted this method by saying "WHAT THE HELL" to 8.04 LTS and
clean installed 9.04. the price i paid for is the songs & videos i've
separately sotred in NTFS partitions is lost. :( relief with grief. its like
bargain your independence with your wife or Girl Friend (whoever is closer
to your heart).

On Sat, Sep 5, 2009 at 4:37 PM, Mark Rijckenberg <
<email address hidden>> wrote:

> Your question #81905 on debconf in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/debconf/+question/81905
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> Try reinstalling Ubuntu 9.04 from a LiveCD session to get rid of the
> dpkg errors.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/debconf/+question/81905/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/debconf/+question/81905
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
death; the leveler.
+92-343-4004002

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#9

It is very strange that you lost all the data on your NTFS partitions. Did you choose to "use the entire disk" when the Ubuntu 9.04 installer asked where to reinstall Ubuntu? If you choose to use the entire disk, Ubuntu will wipe out ALL partitions, including your NTFS partitions, which of course is NOT what you would want.

There is an option in the installer to use "custom partitioning" so that you can keep your NTFS partitions and mount them automatically after installing Ubuntu to separate ext4 partitions...

Revision history for this message
mohsanzaki (mohsanzaki) said :
#10

yes i have chosen the entire disk option and it made me look like an idiot. is there any way to recover the data? if yes then please revert.

thanks for your timely support.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#11

You can attempt to recover your deleted NTFS partitions using the info in the link below, but it can become complicated and there is no guarantee that the partition can be recovered:

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

Here are more suggestions:

http://ubuntuforums.org/archive/index.php/t-916137.html

I suggest creating a

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#12

totally new thread for this new data recovery question.