Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Launchpad User (http://www.linux-archive.org/launchpad-user/)
-   -   PPA "Copy packages" issues (http://www.linux-archive.org/launchpad-user/145465-ppa-copy-packages-issues.html)

Bruce Cowan 08-19-2008 07:30 PM

PPA "Copy packages" issues
 
I'm having trouble using the PPA "copy packages" facility. I am trying
to use it to copy packages from one release to another (Hardy->Intrepid
and vice-versa). When I try to do this, I get an error - "same version
already has published binaries in the destination archive". The only way
I can copy packages is to copy the binaries.

Is this a bug, or am I doing something wrong?

https://launchpad.net/~bruce89/+archive is my PPA page.
--
Bruce Cowan <https://launchpad.net/~bruce89/>


--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users

"Mackenzie Morgan" 08-19-2008 07:36 PM

PPA "Copy packages" issues
 
On Tue, Aug 19, 2008 at 3:30 PM, Bruce Cowan
<lists@bcowan.fastmail.co.uk> wrote:
> I'm having trouble using the PPA "copy packages" facility. I am trying
> to use it to copy packages from one release to another (Hardy->Intrepid
> and vice-versa). When I try to do this, I get an error - "same version
> already has published binaries in the destination archive". The only way
> I can copy packages is to copy the binaries.
>
> Is this a bug, or am I doing something wrong?

Known bug. It was mentioned back when the feature was added, but no
further discussion that I'm aware of.

--
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubuntu stuff
apt-get moo

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users

"Celso Providelo" 08-19-2008 07:53 PM

PPA "Copy packages" issues
 
On Tue, Aug 19, 2008 at 4:36 PM, Mackenzie Morgan <macoafi@gmail.com> wrote:
> On Tue, Aug 19, 2008 at 3:30 PM, Bruce Cowan
> <lists@bcowan.fastmail.co.uk> wrote:
>> I'm having trouble using the PPA "copy packages" facility. I am trying
>> to use it to copy packages from one release to another (Hardy->Intrepid
>> and vice-versa). When I try to do this, I get an error - "same version
>> already has published binaries in the destination archive". The only way
>> I can copy packages is to copy the binaries.
>>
>> Is this a bug, or am I doing something wrong?
>
> Known bug. It was mentioned back when the feature was added, but no
> further discussion that I'm aware of.

It's definitely not a bug.

You cannot sanely distribute the same binary version built in
different contexts (series), thus you cannot copy only the source to
be rebuilt in another series. The publisher won't be able to place the
new binaries in the pool/ directory and APT won't be able to do the
right thing when installing it or upgrading the system.

Assuming that the tool-chain and most of the libraries are
backward-compatible, the vast majority of binaries can be safely
copied from an older series to a new series without any problem
(that's basically what happens when we open a new distroseries).

For the cases when you really need to rebuild the source in the new
series context it needs almost certainly also needs tweaks in the
build-dependencies directives, so, if that's true, a new source
version is the only way to go.

Admittedly, there is yet the bin-NMU (read it simple binary rebuild)
use-case would avoid multiple mechanic re-uploads, but this is
something that wasn't implemented yet for ubuntu and is being
discussed for very specific scenarios, not as a general solution for
shipping binary rebuilds in different series.

Does it help to contextualize the mentioned error ?

[]
--
Celso Providelo <celso.providelo@canonical.com>
IRC: cprov, Jabber: cprov@jabber.org, Skype: cprovidelo
1024D/681B6469 C858 2652 1A6E F6A6 037B B3F7 9FF2 583E 681B 6469

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users

"Mackenzie Morgan" 08-19-2008 07:56 PM

PPA "Copy packages" issues
 
On Tue, Aug 19, 2008 at 3:53 PM, Celso Providelo
<celso.providelo@gmail.com> wrote:
> On Tue, Aug 19, 2008 at 4:36 PM, Mackenzie Morgan <macoafi@gmail.com> wrote:
>> On Tue, Aug 19, 2008 at 3:30 PM, Bruce Cowan
>> <lists@bcowan.fastmail.co.uk> wrote:
>>> I'm having trouble using the PPA "copy packages" facility. I am trying
>>> to use it to copy packages from one release to another (Hardy->Intrepid
>>> and vice-versa). When I try to do this, I get an error - "same version
>>> already has published binaries in the destination archive". The only way
>>> I can copy packages is to copy the binaries.
>>>
>>> Is this a bug, or am I doing something wrong?
>>
>> Known bug. It was mentioned back when the feature was added, but no
>> further discussion that I'm aware of.
>
> It's definitely not a bug.
>
> You cannot sanely distribute the same binary version built in
> different contexts (series), thus you cannot copy only the source to
> be rebuilt in another series. The publisher won't be able to place the
> new binaries in the pool/ directory and APT won't be able to do the
> right thing when installing it or upgrading the system.

That the option to copy from gutsy to hardy and rebuild exists when it
is impossible to do should be considered a bug. If it can't be done,
why supply a button that pretends to allow it?

--
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubuntu stuff
apt-get moo

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users

"Celso Providelo" 08-19-2008 08:15 PM

PPA "Copy packages" issues
 
On Tue, Aug 19, 2008 at 4:56 PM, Mackenzie Morgan <macoafi@gmail.com> wrote:
> On Tue, Aug 19, 2008 at 3:53 PM, Celso Providelo
> <celso.providelo@gmail.com> wrote:
>> On Tue, Aug 19, 2008 at 4:36 PM, Mackenzie Morgan <macoafi@gmail.com> wrote:
>>> On Tue, Aug 19, 2008 at 3:30 PM, Bruce Cowan
>>> <lists@bcowan.fastmail.co.uk> wrote:
>>>> I'm having trouble using the PPA "copy packages" facility. I am trying
>>>> to use it to copy packages from one release to another (Hardy->Intrepid
>>>> and vice-versa). When I try to do this, I get an error - "same version
>>>> already has published binaries in the destination archive". The only way
>>>> I can copy packages is to copy the binaries.
>>>>
>>>> Is this a bug, or am I doing something wrong?
>>>
>>> Known bug. It was mentioned back when the feature was added, but no
>>> further discussion that I'm aware of.
>>
>> It's definitely not a bug.
>>
>> You cannot sanely distribute the same binary version built in
>> different contexts (series), thus you cannot copy only the source to
>> be rebuilt in another series. The publisher won't be able to place the
>> new binaries in the pool/ directory and APT won't be able to do the
>> right thing when installing it or upgrading the system.
>
> That the option to copy from gutsy to hardy and rebuild exists when it
> is impossible to do should be considered a bug. If it can't be done,
> why supply a button that pretends to allow it?

Then it's a *very* different bug that what was suggested in the initial email.

The copy infrastructure is fine (and I assume you understand it better
now), the problem you are pointing is that the form fields are not
interactive. As in:

'copy binaries' field should be only presented when 'destination
archive' pointed to another PPA (not 'the same PPA'), otherwise it
will default to 'checked'.

That is the only legitimate bug/complaint I can see. Feel free to file
that bug if you want, some other forms already use the js glue
(mochkit) to do similar things.

Thanks for reporting this issue.
[]
--
Celso Providelo <celso.providelo@canonical.com>
IRC: cprov, Jabber: cprov@jabber.org, Skype: cprovidelo
1024D/681B6469 C858 2652 1A6E F6A6 037B B3F7 9FF2 583E 681B 6469

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users

Christian Robottom Reis 08-19-2008 08:54 PM

PPA "Copy packages" issues
 
On Tue, Aug 19, 2008 at 05:15:56PM -0300, Celso Providelo wrote:
> >> You cannot sanely distribute the same binary version built in
> >> different contexts (series), thus you cannot copy only the source to
> >> be rebuilt in another series. The publisher won't be able to place the
> >> new binaries in the pool/ directory and APT won't be able to do the
> >> right thing when installing it or upgrading the system.
> >
> > That the option to copy from gutsy to hardy and rebuild exists when it
> > is impossible to do should be considered a bug. If it can't be done,
> > why supply a button that pretends to allow it?
>
> Then it's a *very* different bug that what was suggested in the initial email.
>
> The copy infrastructure is fine (and I assume you understand it better
> now), the problem you are pointing is that the form fields are not
> interactive. As in:

Weeeelllll... actually, my feeling is that the UI is *very* misleading,
even if the backend works well. I've tried to use it myself, and assist
end-users, and every time I've gotten stuck and had to back out to
putting a note "talk to celso about copy-packages" on my todo list. I
think Martin A. might be a great person to talk to and see if we can
figure out a way to improve this.

BTW, I might even be convinced of trying to push for binary rebuilds now
that I'm already in trouble over everything else.. <wink>
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users


All times are GMT. The time now is 04:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.