[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368152: marked as done ('force-install': "cannot access archive: No such file or directory")

Your message dated Sat, 17 Jan 2009 11:46:57 GMT
with message-id <200901171146.n0HBkvLs009728@kmos.homeip.net>
and subject line feta has been removed from Debian, closing #368152
has caused the Debian Bug report #368152,
regarding 'force-install': "cannot access archive: No such file or directory"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

368152: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368152
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: feta
Version: 1.4.14
Severity: normal

I started with:

    % feta install x11-common

Which returned an error that it couldn't overwrite some old old files.  That
was a good error, so I copied the directory with those files out of the way,
then deleted the directory.  Yet I didn't want to remove all the packages
that installed these old files.  This was a job for 'force-install':

    % feta force-install x11-common
    Warning: You are about to forcibly install a Debian package or packages.
    This is **NOT A GOOD IDEA**. It may break dependencies, or cause files in
    other packages to be modified.

    Continue? [y/N] y

    Running: dpkg --install --force all x11-common
    dpkg: error processing x11-common (--install):
     cannot access archive: No such file or directory
    Errors were encountered while processing:
    W: An error occurred trying to use the 'force-install' command.
    W: If you run Feta with -V, more information about the error may be printed.

The confusing thing is that 'feta' found the archive
when I typed:

    % feta install x11-common

...but not when I typed:

    % feta force-install x11-common

Of course this worked fine:

    % dpkg --install --force all  /var/cache/apt/archives/x11-common_1%3a7.0.1

...I'd guess the problem is that 'feta' isn't passing the full path
name of the '.deb' to 'dpkg', which needs a full path name.

Two fixes come to mind:

    1) It's deliberate for 'feta' options that call 'dpkg'
       directly require full pathnames.

       For most users it isn't obvious which 'feta' options call 'apt-get'
       and which call 'dpkg'.  (That's one reason we use 'feta' -- to not have to
       worry about that stuff.)

       For cases where it matters, the man page could explain these distinctions.  
       Also the error message above could be more specific.  For example:

	    feta error:  'force-install' calls 'dpkg', and requires a 
            full pathname for the '.deb' archive.

    2) Make 'feta' somehow look up the full pathname, so that 
       'force-install' works like 'apt-get install'.  (Seems preferable
       for us lazy users.)

Hope this helps...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages feta depends on:
ii  apt                    Advanced front-end for dpkg
ii  debconf [debconf-2.0]         1.5.1      Debian configuration management sy
ii  grep-dctrl                    2.9.0      Grep Debian package information - 
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 
ii  wget                          1.10.2-1   retrieves files from the web

Versions of packages feta recommends:
ii  alien                         8.64       install non-native packages with d
ii  auto-apt                      0.3.20     package search by file and on-dema
ii  debfoster                     2.5-6      Install only wanted Debian package
ii  deborphan                     1.7.18     Find orphaned libraries
ii  debsums                       2.0.27     Verify installed package files aga
ii  dpkg-repack                   1.24       puts an unpacked .deb file back to
ii  fakeroot                      1.5.8      Gives a fake root environment
ii  reportbug                     3.20       reports bugs in the Debian distrib

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.4.16+nmu1+rm

The feta package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/388363 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
Marco Rodrigues

--- End Message ---

Reply to: