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:
x11-common
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 0.6.44.1 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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]