Results 1 to 7 of 7
Hi folks,
Ubuntu 7.04 desktop
On Terminal running;
$ sudo apt-file update
It just hangs there for prolonged time and then exits to command prompt.
Pls advise where shall I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-13-2007 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Problem on running apt-file
Hi folks,
Ubuntu 7.04 desktop
On Terminal running;
$ sudo apt-file update
It just hangs there for prolonged time and then exits to command prompt.
Pls advise where shall I check? TIA
I use it;
$ sudo apt-file search dep
to find the package providing the dep.
B.R.
satimis
- 08-13-2007 #2
it just exits back to the terminal? try reinstalling apt through synaptec.
- 08-13-2007 #3
apt-file update doesn't throw any output and it syncs list from sources. Time taken by it depends on your speed of internet connection.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-15-2007 #4Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
- 08-15-2007 #5
Did you try 'apt-cache search <dep>?
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 08-16-2007 #6Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi devils_casper,
Yes but no output
$ apt-cache search sane.h
No output
$ apt-file search sane.hWhy the output repeated.Code:doc-linux-html: usr/share/doc/HOWTO/en-html/Scanner-HOWTO/sane.html doc-linux-html: usr/share/doc/HOWTO/en-html/Scanner-HOWTO/sane.html doc-linux-html: usr/share/doc/HOWTO/en-html/Scanner-HOWTO/sane.html doc-linux-html: usr/share/doc/HOWTO/en-html/Scanner-HOWTO/sane.html doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Scanner-HOWTO/sane.html doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Scanner-HOWTO/sane.html doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Scanner-HOWTO/sane.html doc-linux-ja-html: usr/share/doc/HOWTO/ja-html/Scanner-HOWTO/sane.html libsane-dev: usr/include/sane/sane.h libsane-dev: usr/include/sane/sane.h libsane-dev: usr/include/sane/sane.h libsane-dev: usr/include/sane/sane.h
$ grep -v '^#' /etc/apt/sources.list | grep -v '^$' | sortAre the last 4 lines considered repeated? If YES, which of them shall I remove? Where to retain the description of the deleted lines.Code:deb http://archive.canonical.com/ubuntu feisty-commercial main deb http://debian.linux.org.tw/ubuntu/ feisty-backports main restricted universe multiverse deb http://debian.linux.org.tw/ubuntu/ feisty main restricted deb http://debian.linux.org.tw/ubuntu/ feisty multiverse deb http://debian.linux.org.tw/ubuntu/ feisty-security main restricted deb http://debian.linux.org.tw/ubuntu/ feisty-security multiverse deb http://debian.linux.org.tw/ubuntu/ feisty-security universe deb http://debian.linux.org.tw/ubuntu/ feisty universe deb http://debian.linux.org.tw/ubuntu/ feisty-updates main restricted deb http://debian.linux.org.tw/ubuntu/ feisty-updates universe multiverse deb http://us.archive.ubuntu.com/ubuntu edgy universe deb http://wine.budgetdedicated.com/apt edgy main deb http://www.getautomatix.com/apt feisty main deb-src http://debian.linux.org.tw/ubuntu/ feisty-backports main restricted universe multiverse #Added by software-properties deb-src http://debian.linux.org.tw/ubuntu/ feisty restricted main multiverse universe #Added by software-properties deb-src http://debian.linux.org.tw/ubuntu/ feisty-security restricted main multiverse universe #Added by software-properties deb-src http://debian.linux.org.tw/ubuntu/ feisty-updates restricted main multiverse universe #Added by software-properties
If IIRC on Yum or on OBSD there is a way to find the package which provides X-dep.
TIA
satimis
- 08-16-2007 #7
Last four lines are not repeated. Package is available in feisty-backportsm restricted, security and updates sources. I will further look into this and post back soon.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote

