← Back to team overview

launchpad-users team mailing list archive

SOLVED RE: FW: [PPA chris-good-rwall-ppa] netkit-rwall_0.17-8ubuntu2_amd64.changes rejected

 

Hi Gianfranco,

 

I tried ‘sudo dpkg-buildpackage -S –sa’ but it gave thousands of lines of
error msgs, seemingly for every file in my chroot like:



dpkg-source: error: cannot represent change to
netkit-rwall.dev/trusty/lib64/ld-linux-x86-64.so.2:

dpkg-source: error:   new version is symlink to
/lib/x86_64-linux-gnu/ld-2.19.so

dpkg-source: error:   old version is nonexistent

 

I decided to give up on using chroot under precise and started again using a
new Ubuntu trusty VM without chroot.

 

I was able to eventually build & upload the a source to Launchpad J

The main problem I think was that I was using MS Word to track my progress,
and when I copied the commands from the Ubuntu web page into Word, it was
changing hyphens into long dashes. Then when I needed to redo a command,
copying it from Word to Ubuntu used long dashes instead of hyphens.

 

Unfortunately, when you run

bzr builddeb –S                     (long dash)

you don’t get an error about an invalid argument, it just doesn’t do what
you expect.

 

I am well aware of the problem with long dashes but didn’t notice this time
because there was no error message and I didn’t really know what it was
supposed to do.

 

I now know in MS word there are 2 places where  you need to turn off
AutoCorrect of hyphens:

AutoFormat & AutoFormat As You Type.

 

I’d still like some help with using chroot if anyone can help with my
previous questions?

 

I don't understand how the chroot is supposed to work.

I have seen https://wiki.ubuntu.com/DebootstrapChroot

 

Looking at http://packaging.ubuntu.com/html/chroots.html 

 

                10.1. Creating a Chroot:

                You can then work inside the chroot:

                $ sudo chroot trusty

 

After this, of course I am root, and the source package I had set up
previously, doesn't exist in the chroot.

Should I hardlink the source directory structure into the chroot?

Should I be working as myself (user cgood) instead of root? If so, do I 'su
- cgood' before starting?

Will the chroot still be in effect if I do?

 

Thanks for your help,

 

Chris Good

 

From: Gianfranco Costamagna [mailto:costamagnagianfranco@xxxxxxxx] 
Sent: Saturday, 19 April 2014 7:48 PM
To: Chris Good; 'Jörg Frings-Fürst'
Cc: Launchpad Users
Subject: Re: [Launchpad-users] FW: [PPA chris-good-rwall-ppa]
netkit-rwall_0.17-8ubuntu2_amd64.changes rejected

 

Hi, can you try
sudo dpkg-buildpackage -S -sa

seems like you already built locally with sudo your package, then you cannot
clean it since you have not enough permissions.

Another way can be to grab again the source package, delete debian folder,
replace with your debian one, and do again the command
(or maybe chown youruser:youruser package -Rf

 

 

bests,

Gianfranco 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Follow ups