[stable-ppa] nginx "Breaks:" version missing trailing "~precise0"

Bug #1281282 reported by Darrell Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nginx
Fix Released
High
Thomas Ward

Bug Description

the stable nginx packages (I tested the precise packaging, specifically) here: https://launchpad.net/~nginx/+archive/stable/+packages

If I try to install "nginx" and "nginx-full", the "Breaks:" erroneously prevents it:

sudo apt-get install nginx=1.4.5-1~precise0 nginx-full=1.4.5-1~precise0
...
The following packages have unmet dependencies:
 nginx-full : Breaks: nginx (< 1.4.5-1)
E: Unable to correct problems, you have held broken packages.

The fact that 1.4.5-1~precise0 unfortunately compares as < 1.4.5-1 is shown by:
$ dpkg --compare-versions 1.4.5-1~precise0 '<' 1.4.5-1; echo $?
0

So I guess the Ubuntu-packaged nginx control file's Breaks: needs to include the tilde and precise0 :-/.

Thomas Ward (teward)
summary: - nginx "Breaks:" version missing trailing "~precise0"
+ [stable-ppa] nginx "Breaks:" version missing trailing "~precise0"
tags: added: stable-ppa
Changed in nginx:
importance: Undecided → High
assignee: nobody → Thomas Ward (teward)
Revision history for this message
Martin Cozzi (maraca77) wrote :

I can confirm being currently affected by this bug.

Revision history for this message
Thomas Ward (teward) wrote :

I've got a possible fix uploaded to my staging PPA, but the PPA uploaders are a little lagged, so I can't test at this time.

As soon as I get a chance I'll test this.

Changed in nginx:
status: New → In Progress
Revision history for this message
Thomas Ward (teward) wrote :

I confirmed my fix works. I have uploaded the builds to the staging PPA and I am waiting for them to complete before copying this over to the stable PPA. Once they've been copied over it should be only about half an hour before they're available for use.

Changed in nginx:
status: In Progress → Fix Committed
tags: added: precise quantal saucy trusty
Revision history for this message
Thomas Ward (teward) wrote :

The Stable PPA has been updated with the updated packages. This issue should now be resolved.

Changed in nginx:
status: Fix Committed → Fix Released
Revision history for this message
Darrell Bishop (darrellb) wrote : Re: [Bug 1281282] Re: [stable-ppa] nginx "Breaks:" version missing trailing "~precise0"

Awesome! Thanks for the quick turnaround time!

On Mon, Feb 17, 2014 at 2:48 PM, Thomas Ward <email address hidden> wrote:

> I confirmed my fix works. I have uploaded the builds to the staging PPA
> and I am waiting for them to complete before copying this over to the
> stable PPA. Once they've been copied over it should be only about half
> an hour before they're available for use.
>
> ** Changed in: nginx
> Status: In Progress => Fix Committed
>
> ** Tags added: precise quantal saucy trusty
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1281282
>
> Title:
> [stable-ppa] nginx "Breaks:" version missing trailing "~precise0"
>
> Status in Nginx:
> Fix Committed
>
> Bug description:
> the stable nginx packages (I tested the precise packaging,
> specifically) here:
> https://launchpad.net/~nginx/+archive/stable/+packages
>
> If I try to install "nginx" and "nginx-full", the "Breaks:"
> erroneously prevents it:
>
> sudo apt-get install nginx=1.4.5-1~precise0 nginx-full=1.4.5-1~precise0
> ...
> The following packages have unmet dependencies:
> nginx-full : Breaks: nginx (< 1.4.5-1)
> E: Unable to correct problems, you have held broken packages.
>
> The fact that 1.4.5-1~precise0 unfortunately compares as < 1.4.5-1 is
> shown by:
> $ dpkg --compare-versions 1.4.5-1~precise0 '<' 1.4.5-1; echo $?
> 0
>
> So I guess the Ubuntu-packaged nginx control file's Breaks: needs to
> include the tilde and precise0 :-/.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nginx/+bug/1281282/+subscriptions
>

Revision history for this message
Darrell Bishop (darrellb) wrote :

Confirmed: new packaging works for me!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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