problems whit uck pakage manager

Bug #567945 reported by jose garrido
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit
Won't Fix
Low
Wolf Geldmacher

Bug Description

im using uck 2.0.12 package manager but, when i try to update the packages or install some packages i have the following error

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 123903 files and directories currently installed.)
Removing aisleriot ...
Removing gnome-mahjongg ...
Removing gnomine ...
Removing quadrapassel ...
Removing gnome-sudoku ...
Removing gnome-games-common ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 122562 files and directories currently installed.)
Preparing to replace tzdata 2010g-0ubuntu1 (using .../tzdata_2010h-1_all.deb) ...
Unpacking replacement tzdata ...
dpkg: ../../src/archives.c:754: tarobject: Assertion `r == stab.st_size' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
A package failed to install. Trying to recover:

i can continue creating an custom cd, but i cant add the update packages.
im using the iso of lucid lynx beta 2

Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

To me this looks more like an error in the package (tzdata_2010h-1_all.deb) than an error in UCK:
The package you are trying to install is so badly broken that it triggers an assertion in the dpkg package command.

Can you please verify that you can install/update the package at all (e.g. useing a live-cd and run
sudo apt-get update; sudo apt-get install tzdata_2010h
in a terminal?

((If you have locally cached packages it may be worthwhile to remove that package from the cache to get a fresh
copy from the repositories. Only makes sense if the install of tzdata driectly from the repository succeeded.))

Changed in uck:
assignee: nobody → Wolf Geldmacher (wolf-womaro)
status: New → Incomplete
Revision history for this message
jose garrido (contactame-josegarrido) wrote :

hi, thanks for you quickly response
now, i create the CD and use this with VirtualBox for testing.
i execute:

sudo aptitude update;
sudo aptitude install tzdata;

and all works fine, no problems, the problems its only when a customize the ubuntu cd.

then, i drop all my ~/tmp/cd folder and launch again UCK for create a new Custom CD, but, the same problems with tzdata file.

Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

Can you please provide the following information:

- What system do you run UCK on?
    - Architecture (X86/MIPS/ARM)?
    - 32/64 bit?
    - Which Ubuntu version?
    - Which Ubuntu flavour (Kubuntu, Xubuntu, Ubuntu,...)?

- Which system do you try to customize?
    - Architecture (X86/MIPS/ARM)?
    - 32/64 bit?
    - Which Ubuntu version?
    - Which Ubuntu flavour (Kubuntu, Xubuntu, Ubuntu,...)?

- What customizations are you trying to do?
    - Language?
    - Bootlanguage?
    - Interactive customization (terminal / package manager)?

Revision history for this message
jose garrido (contactame-josegarrido) wrote :

yeah, sure!

What system do you run UCK on?
X86
32 bits (PAE)
Lucid Lynx (full-upgrade)
Ubuntu

Which system do you try to customize?
X86
32 bits
Lucid Lynx
Ubuntu

What customizations are you trying to do?
Spanish
Spanish
both, terminal and PM

Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

((Thanks 4 the info you supplied - already taken into account for this comment))

I've just run a customization of (i86/32/ubuntu/10.4beta2) on my machine (x86_64/64/ubuntu/9.10); Languages all set to "de", package manager used to remove all games (like in your log) and then upgrade all packages to latest patch level. Although there was a (known) issue with grub-pc, removal and updating did not show the problem you are reporting.

I still believe that the problem you are seeing stems from a corrupted tzdata package retrieved from some place (do you use proxies?) and not from UCK, but I can't think of a good way to prove it...

Could you try to run the aptitude commands in the console during customization, please? And could you please verify the md5sum of the deb you are installing there? (The one that worked for me has
d29361dc70330644015b63d8379dbcf7 tzdata_2010h-1_all.deb
Package file can be found in /var/cache/apt/archives)

Revision history for this message
jose garrido (contactame-josegarrido) wrote :

jgarrido@jgarrido-laptop:~/tmp/remaster-apt-cache/archives$ md5sum tzdata_2010h-1_all.deb
d29361dc70330644015b63d8379dbcf7 tzdata_2010h-1_all.deb

the same.

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

I can reproduce this bug crashing with package "base-files"

- What system do you run UCK on?
    - x86
    - 64 bit?
    - Karmic
    - Gnome
    - uck version 2.0.12-0ubuntu2

- Which system do you try to customize?
    - x86
    - 64 bit
    - Lucid RC
    - KDE

- What customizations are you trying to do?
    - en, de
    - de
    - terminal (updating, installing kde-full kubuntu-restricted-extras)

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

Sry, i forgot the verification:

/var/cache/apt/archives# md5sum base-files_5.0.0ubuntu20_amd64.deb
ff384d1048f848fad888c60feae8b1c8 base-files_5.0.0ubuntu20_amd64.deb

Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

I've tried to reproduce the behaviour you are getting (x84_64/karmic/ubuntu host, x86_64/lucidrc2/kubuntu target) but cannot reproduce the problem (run the whole process twice - worked fine both times).

So - as kind of last resort - I googled for the error message (dpkg: ../../src/archives.c:754: tarobject: Assertion `r == stab.st_size' failed.) and found two instances (one is Bug #524919 (ubuntu), the other 561991 (debian upstream). Essentially the bug is triggered due to lstat not returning a correct size, either due to the underlying filesystem not returning a correct size (e.g. eCryptfs) or fakeroot usage.

-> Could the problem you are seeing be caused by one of these (i.e. what file system are is your customization directory on)?

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

@Wolf Geldmacher:
thank you. I looked into https://bugs.launchpad.net/bugs/524919 and I think this is the problem we have.

I installed Karmic (on which UCK runs) with "encrypt home directory" Option. The customization directory is in home/tmp which is encrypted.

Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

Looks like this is not a but in UCK after all - so I'm changing the status to "Won't Fix" (for the lack of a "Can't Fix here" status ;-)

Changed in uck:
importance: Undecided → Low
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.