package failed to upgrade but marked as upgraded

Bug #218597 reported by sam
4
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned
flashplugin-nonfree (Ubuntu)
Incomplete
Undecided
Mozilla Bugs

Bug Description

Binary package hint: apt

I was upgrading my PC :-
ran apt-get dist-upgrade

output :-
<snip>
Setting up flashplugin-nonfree (9.0.124.0ubuntu1~gutsy1) ...
Downloading...
--20:37:27-- http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
           => `./install_flash_player_9_linux.tar.gz'
Resolving fpdownload.macromedia.com... failed: Name or service not known.
download failed
The Flash plugin is NOT installed.
<snip>

When I reran apt-get dist-upgrade, there were no packages listed.
which means, that flash is not really upgraded but marked as upgraded, resulting in false sense of security or inexplicable problems which you think have been resolved thru the upgrade

Revision history for this message
sam (earlgreykde) wrote :

I should say, I appreciate that I did not have network connectivity in the first run of apt dist-upgrade, but was connected to the net for the 2nd run (which gave a false result)

Revision history for this message
John Vivirito (gnomefreak) wrote :

Can you please post the output of cat /etc/apt/sources.list to this bug. What version of Ubuntu are you seeing this on? Can you also please post the output of apt-cache policy flashplugin-nonfree. Is this on a 64bit arch that you are seeing this?

Changed in flashplugin-nonfree:
assignee: nobody → mozilla-bugs
status: New → Incomplete
Revision history for this message
John Vivirito (gnomefreak) wrote :

When you recieved the following error you did or did not have a net connection?

>Setting up flashplugin-nonfree (9.0.124.0ubuntu1~gutsy1) ...
>Downloading...
>--20:37:27-- http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
> => `./install_flash_player_9_linux.tar.gz'
>Resolving fpdownload.macromedia.com... failed: Name or service not known.
>download failed
>The Flash plugin is NOT installed.

Revision history for this message
sam (earlgreykde) wrote : Re: [Bug 218597] Re: package failed to upgrade but marked as upgraded
  • unnamed Edit (1.3 KiB, text/html; charset=ISO-8859-1)

no, I did not have net access at the time.

On Sat, Apr 19, 2008 at 5:18 AM, John Vivirito <email address hidden> wrote:

> When you recieved the following error you did or did not have a net
> connection?
>
> >Setting up flashplugin-nonfree (9.0.124.0ubuntu1~gutsy1) ...
> >Downloading...
> >--20:37:27--
> http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
> > => `./install_flash_player_9_linux.tar.gz'
> >Resolving fpdownload.macromedia.com... failed: Name or service not known.
> >download failed
> >The Flash plugin is NOT installed.
>
> --
> package failed to upgrade but marked as upgraded
> https://bugs.launchpad.net/bugs/218597
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
sam (earlgreykde) wrote :
  • unnamed Edit (1.3 KiB, text/html; charset=ISO-8859-1)

hi,
I have upgraded, so assume the files are pointless.
it's 32 bit, was ubuntu 7.10.
I think the problem of the dpkg install succeeding but the flash download
and upgrade failing leaving the system thinking it has the latest flash ....

On Sat, Apr 19, 2008 at 5:15 AM, John Vivirito <email address hidden> wrote:

> Can you please post the output of cat /etc/apt/sources.list to this bug.
> What version of Ubuntu are you seeing this on? Can you also please post
> the output of apt-cache policy flashplugin-nonfree. Is this on a 64bit
> arch that you are seeing this?
>
> ** Changed in: flashplugin-nonfree (Ubuntu)
> Assignee: (unassigned) => Mozilla Bugs (mozilla-bugs)
> Status: New => Incomplete
>
> --
> package failed to upgrade but marked as upgraded
> https://bugs.launchpad.net/bugs/218597
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
John Vivirito (gnomefreak) wrote :

It failed because the download never completed maybe once you got connections it finished. Since this isnt really a bug and dpkg gave the false report isnt against flash or mozilla products what exactly are you looking for to happen? Is flash installed in your profile dir. did you get a "download missing plugins" when going to a flash site between the time your failure to download and the time you go it to download and install?

Revision history for this message
sam (earlgreykde) wrote :
  • unnamed Edit (1.8 KiB, text/html; charset=ISO-8859-1)

Hi,
  I am sorry for not being clear.
The network was not working, and flash is already installed, this is for the
upgrade

when dpkg runs to upgrade flash, it runs a script which downloads flash,
right? if the script fails (in my case because the network was broken) then
dpkg marks the operation as susccessfull and so my flash is listed as the
next upgraded version when in reality it never upgraded because the download
script failed.

running apt-get again when the network is up finds no new updates even
thought the flash version itself is outdated. I am guessing that the script
that is run does not communicate to dpkg that the upgrade failed.

On Mon, Apr 28, 2008 at 12:38 PM, John Vivirito <email address hidden>
wrote:

> It failed because the download never completed maybe once you got
> connections it finished. Since this isnt really a bug and dpkg gave the
> false report isnt against flash or mozilla products what exactly are you
> looking for to happen? Is flash installed in your profile dir. did you
> get a "download missing plugins" when going to a flash site between the
> time your failure to download and the time you go it to download and
> install?
>
> --
> package failed to upgrade but marked as upgraded
> https://bugs.launchpad.net/bugs/218597
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
John Vivirito (gnomefreak) wrote :

Please try to remove it using either apt-get remove --purge flashplugin-nonfree if that fails to work please try sudo dpkg -r flashplugin-nonfree and than once removed please install the package again when you have a few minutes of connection hopfully if im right its just a corrupt download due to failure of being connected and dpkg didnt like it. sometime in next ten days i will ping head ubuntu mozilla dev about this issue and see what he would like to happen.
Im also reporting this against apt.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Michael, if apt inst at fault please let me know but i think its just the net failure, I havent seenany other flash bugs like this one is one reason i feel its connection that corrupted package

Revision history for this message
sam (earlgreykde) wrote :
  • unnamed Edit (1.9 KiB, text/html; charset=ISO-8859-1)

Hi,
  I had already tried that and it works, that is not the issue, but
appreciate your advise.

have you tried :-
down grade your flash
apt-get -dy dist-upgrade
/etc/init.d/network stop
apt-get dist-upgrade

from what I understand :-
The file flashplugin-nonfree.postinst contains "set -e"
which means if the wget fails the script finishes, which presumable is the
end of that, right?
only flash has not been downloaded and installed.

which means and pkg which runs a post script to download and install
something, can not be relied on to work as expected, if the network fails

On Wed, Apr 30, 2008 at 2:04 PM, John Vivirito <email address hidden> wrote:

> Please try to remove it using either apt-get remove --purge
> flashplugin-nonfree if that fails to work please try sudo dpkg -r
> flashplugin-nonfree and than once removed please install the package again
> when you have a few minutes of connection hopfully if im right its just a
> corrupt download due to failure of being connected and dpkg didnt like it.
> sometime in next ten days i will ping head ubuntu mozilla dev about this
> issue and see what he would like to happen.
> Im also reporting this against apt.
>
> ** Also affects: apt (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> package failed to upgrade but marked as upgraded
> https://bugs.launchpad.net/bugs/218597
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
John Vivirito (gnomefreak) wrote :

sam wrote:
> Hi,
> I had already tried that and it works, that is not the issue, but
> appreciate your advise.
>
> have you tried :-
> down grade your flash
> apt-get -dy dist-upgrade
> /etc/init.d/network stop
> apt-get dist-upgrade
>
> from what I understand :-
> The file flashplugin-nonfree.postinst contains "set -e"
> which means if the wget fails the script finishes, which presumable is the
> end of that, right?
> only flash has not been downloaded and installed.
>
> which means and pkg which runs a post script to download and install
> something, can not be relied on to work as expected, if the network fails
>
>
> On Wed, Apr 30, 2008 at 2:04 PM, John Vivirito <email address hidden>
> wrote:
>
>
>> Please try to remove it using either apt-get remove --purge
>> flashplugin-nonfree if that fails to work please try sudo dpkg -r
>> flashplugin-nonfree and than once removed please install the package again
>> when you have a few minutes of connection hopfully if im right its just a
>> corrupt download due to failure of being connected and dpkg didnt like it.
>> sometime in next ten days i will ping head ubuntu mozilla dev about this
>> issue and see what he would like to happen.
>> Im also reporting this against apt.
>>
>> ** Also affects: apt (Ubuntu)
>> Importance: Undecided
>> Status: New
>>
>> --
>> package failed to upgrade but marked as upgraded
>> https://bugs.launchpad.net/bugs/218597
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>>
>
>
> ** Attachment added: "unnamed"
> http://launchpadlibrarian.net/14337008/unnamed
>
>
For advice you might have better luck at answers.launchpad.net or a
mailing list found at lists.ubuntu.com depending on what you want advice
about. for you right now best list is ubuntu-users or ubuntu-mozillateam
mailing lists.

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

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.