Project

General

Profile

Bug #1017

fwrite problem after update

Added by Perry Mason over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
Start date:
11/17/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

Removing package...
Starting package deletion for vnstat-1.10_2...done.
Removing vnstat2 components...
Tabs items... done.
Menu items... done.
Loading package instructions...
Deinstall commands... done.
Removing package instructions...done.
Auxiliary files... done.
Package XML... done.
Configuration... done.
Downloading package configuration file... done.
Saving updated package information... done.
Downloading vnstat2 and its dependencies... done.
Checking for successful package installation... of vnstat-1.10_2 failed!

Installation aborted.Removing package...
Starting package deletion for vnstat-1.10_2...done.
Removing vnstat2 components...
Tabs items... done.
Menu items... done.
Loading package instructions...
Include file vnstat2.inc could not be found for inclusion.
Deinstall commands...
Not executing custom deinstall hook because an include is missing.
Removing package instructions...done.
Auxiliary files... done.
Package XML... done.
Configuration... done.
Failed to install package.

All packages reinstalled.

Warning: fwrite(): 82 is not a valid stream resource in /etc/inc/pkg-utils.inc on line 831 Warning: fwrite(): 82 is not a valid stream resource in /etc/inc/pkg-utils.inc on line 907 Warning: fwrite(): 82 is not a valid stream resource in /etc/inc/pkg-utils.inc on line 959 Warning: fclose(): 82 is not a valid stream resource in /usr/local/www/pkg_mgr_install.php on line 217

Associated revisions

Revision 4c3d9312 (diff)
Added by Ermal Luçi over 8 years ago

Ticket #1017. Put a @ before each fwrite to silence errors. Also setup the log file in the beginning rather than on each individual function.

Revision eab543ed (diff)
Added by Ermal Luçi over 8 years ago

Ticket #1017. Move the fwrite and fd_log initializing to a function. Name the function pkg_debug to properly show what is its purpose and also make it write something only when $debug is set.

History

#1 Updated by Ermal Luçi over 8 years ago

  • Status changed from New to Feedback

#2 Updated by Perry Mason over 8 years ago

Works no warning is show. Ticket can be closed

#3 Updated by Ermal Luçi over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF