Debian :: Aptitude Search Query For Specific Distribution
Feb 23, 2010
I've figured out that '~i !~M' will give me all packages I have manually installed. Can I formulate a query such that I get all packages manually installed from a particular distribution (e.g. Lenny, Squeeze, Sid)? Yes, I'm using pinning.
View 1 Replies
ADVERTISEMENT
Apr 30, 2010
I've been looking for an aptitude command to search for security updates. This information is being shown when running the screen. So far I reached to this command: aptitude search '~S ~VCANDIDATE ~Asecurity ~U' It looks like producing the correct results, but I still don't quite understand the how the filter (~S) command works.
View 3 Replies
View Related
Feb 18, 2011
I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:
00-debian_sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free
[code]....
All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.
View 1 Replies
View Related
Jul 11, 2010
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies
View Related
Jul 24, 2010
I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
View 5 Replies
View Related
Aug 5, 2011
I have vps box with debian. I have two ip addresses, but first (default) is currently unavailable. In that case there is many problem. Fortunately wget has --bind-address option so I can download. My question is how can i configure apt-get, aptitude to use specific address?
View 1 Replies
View Related
Dec 2, 2010
How can I search files modified in a specific day?
View 2 Replies
View Related
Jan 9, 2010
how the "-prune" option works. I've searched quite a bit on line, and as far as I can tell, "-prune" works exactly the opposite as it says.
I'm using Apt-proxy, and I want to scan through the folders, and find files that end with "*.bz2" The problem is that the search takes a while because of all the "*.deb" files. Fortunately, they're stored in their own folder:
/var/cache/apt-proxy/ubuntu
/var/cache/apt-proxy/ubuntu-security
/var/cache/apt-proxy/partner
each have two folders:
[Code]....
View 5 Replies
View Related
Aug 17, 2010
I lost an important file. I know what bytes the file begins with. How can I search the partition for the sequence of bytes?
View 4 Replies
View Related
Aug 20, 2010
How do you find a file modified March 17, 2010, between 3:30 pm and 4:05 pm? I know that I must be missing something somewhere.How do you search for info like this? I goggled "search files time Linux" and got about 38,300,000 results. I looked through the first four pages and did not see what I was looking for.Do I need to calculate how many minutes ago that is and give that to find.I really want to do this in the GUI so that I can operate on the files found without typing in so much stuff.
View 1 Replies
View Related
Mar 10, 2010
If i am in the root directory and i need to search for a specific file in the sysconfig directory, is there any way to search this directory for a file?
View 10 Replies
View Related
Oct 27, 2009
Is there an app or find parameter that can search for video files using a specific (DivX for example) encoding? On Windows, you can do this, so I was hoping there would be some way on Linux whether it's with find or another app. I want to find all (*.avi OR *.divx) on my file system with the DiVX fourcc tag (i think that's what its called)
View 4 Replies
View Related
Jan 26, 2010
how to search for a specific string of text inside an html document. I then want to cut out that specific data that the field or string contains. I want to do a shellscript that makes this function automaticly.
For example:
#
#Here i want to find the field "town" inside the html/java and then cut #out the town name from it and paste that to an file.
#
#
[Code].....
View 8 Replies
View Related
Jan 18, 2011
How do I recursively generate a text file which has a list of all files on my server which contain a specific string anywhere in the files?
I know the following command can be used to replace a string recursively
find /var/www -type f -print0 | xargs -0 sed -i 's/old string/new string/g'
I do not want to replace the string, I just want a list of all files which contain the string.
View 4 Replies
View Related
May 5, 2010
I need to create a report ,
The data is spread across two files in below format,
File 1
=========
<Class Name1>
Ph: 001
Place: place001
</class>
[Code]....
View 4 Replies
View Related
Mar 6, 2010
To search a string pattern in all files in a directory and subdirectories, I am using;
Code:
grep -R "myclass::my-func(" mydirectory/
Now I want grep, to search in only specific file types say *.cc. Please help me. I have read manual of grep, but could not deduce any hint.
Best Regards.
View 7 Replies
View Related
Mar 17, 2010
i want such a shell script or single line command to delete all the files with extension specified in script i have bash !! ex... delete all files of extension .obj
View 4 Replies
View Related
Feb 19, 2009
I am thinking about writing a script to search through specific folders on a Linux based server (Centos 5) and report any changes made to any file on that server.Like a detailed change log with the date it was changed and the difference in size. Dose anyone know if such a script exist?
View 2 Replies
View Related
Mar 5, 2009
I would like to install a program (R for statistical computing). I am using Slackware. On the download page of R (The Comprehensive R Archive Network) there are options to download the code for Debian, Redhat, Suse, and Ubuntu. Which one should I download in my case (using Slackware)? Is there any of them which I should not download?
View 4 Replies
View Related
Mar 18, 2011
I am trying how to do a network install of debian,by dumping the contents of the entire DVD on my http server,and booting off my other machine using the minimal cd and selecting the local mirror.The Error i get when i proceed to the 'download installer section' are
Code:
Menu item 'download installer selected'
anna wget: server returned error: HTTP/1.1 404 NOT FOUND
[code]....
View 8 Replies
View Related
Jul 31, 2009
I have a mini-ITX based system with a 256Mb Flash Drive and 256Mb of RAM.
I aim to use it for the following applications:
Samba Server
Cups
Rsync
Basic Web Server
File based Wiki (perhaps Dokuwiki)
Package Management (to easily add other software as required)
I don't need any X based software or Desktop.
I was hoping to create a Debian Live distribution and run the whole operating system either from a Read Only file system or from RAM.
However (after connecting a standard HDD) and installing basic Debian along with the packages I require (and their dependencies) the filesystem is already over 1Gb in size.
Is there any way this can be reduced drastically in size? Is Debian Live the best way of achieving what I want? Something like Puppy Linux is much smaller in size but I don't want something with such an emphasis on having a Desktop environment which I don't need.
View 1 Replies
View Related
May 22, 2010
I'm fairly new to debian, but not to Linux overall. And it seems that I can not install anything using the "apt-get" or "aptitude" commands. Here is what it says when I try to install synaptic:
apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package synaptic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source.
E: Package synaptic has no installation candidate
View 3 Replies
View Related
Aug 19, 2011
From what I understand aptitude and apt-get are both valid package management tools and it should not matter which one you use (of course the user interface is different, but the basic functionality is the same). I found something which makes me believe there are differences: I ran aptitude install gnome-themes-more and it did nothing because the package was already installed. Then I ran apt-get install gnome-themes-more just to see the difference, and it also did not install anything, but it marked the package as manually installed.
The I ran again apt-get install gnome-themes-more and this time the package was not marked as manually install (obviously because it's already marked). This makes me believe that aptitude did not mark my package as manually installed (I would have pasted the command output as well, but I don't have it anymore). So, is the core functionality of those tools the same or not?
I used until now apt-get and wonder if I should have used aptitude. I have found some wikis which recommend the usage of aptitude but I could not find out if this reccomendation is based only on the UI improvements or are there also improvements in the core functionality. I'd like some hints from more seasoned debianers about which one to use, or whether it matters. I'm maily using command line, so user interface is not an issue,
View 14 Replies
View Related
Mar 17, 2011
I want to install mysql query browser in debian
View 1 Replies
View Related
Sep 23, 2015
I'm using Debian Testing (I know it doesn't happen in Stable)
Words isn't required here. I'll show examples:
# aptitude dist-upgrade
Code: Select allThe following NEW packages will be installed:
appstream{a} coinor-libcoinutils3v5{ab} coinor-libosi1v5{ab} cpp-5{a}
g++-5{a} gcc-5{a} gcj-5-jre{a} gcj-5-jre-headless{a} gcj-5-jre-lib{a}
geoip-database-extra{a} gnuplot5-data{a} gnuplot5-qt{a} icoutils{a}
kded5{a} kinit{a} kio{a} libapt-inst1.7{a} libapt-pkg4.16{a} libasan2{a}
[Code] ....
Why apt-get can while aptitude can't?
I've searched on web, and all I can tell is that aptitude is "safer" than apt-get because it taking account the packages on hold.
But I don't have any package on hold! (I've tested dpkg --get-selections | grep hold)
View 11 Replies
View Related
Mar 6, 2016
How to find packages with aptitude. If I use the shell to type "aptitude search nethack" then I get a list of several nethack versions from which to choose. If I use the aptitude GUI and type Ctrl-T and then arrow over to the search option and type in "nethack" and hit Enter, the only option that I see is nethack-spoilers. Why do I not see all of the other nethack options?
View 2 Replies
View Related
Apr 3, 2011
Just today saw that for some reason aptitude seems broken. Dunno the reason. I don't know if its do with aptitude or some other update which introduced the issue. The issue is simple.
Before I could do something like $sudo aptitude purge linux-image [TAB]
Putting down the tab it would autocomplete or/and give other options if there were multiple options (it would do some kinda grep)
Now after the update of aptitude few days ago and other things I get something like this : sudo aptitude purge linux-image [TAB]grep-status: /var/lib/dpkg/status:14651: expected a colon
View 5 Replies
View Related
Jul 5, 2011
I was running today's udpate and saw this :-
[code]...
View 2 Replies
View Related
Jan 20, 2015
Running testing
There were some grave bugs being showed by listbugs for apt dpkg etc
So ran aptitude hold for these buggy packages and upgraded others
Now unable to 'unhold' dpkg. ie
synaptic shows it as 1.17.13 both installed and latest and no upgradation possible
[URL] .... shows it as 1.17.23
Code: Select all# aptitude dist-upgrade
The following NEW packages will be installed:
dpkg:i386{ab} libbz2-1.0:i386{a} libjpeg62-turbo:i386{a} libsystemd0:i386{a}
some other stuff
Code: Select allThe following packages have unmet dependencies:
dpkg : Conflicts: dpkg:i386 but 1.17.23 is to be installed.
dpkg:i386 : Conflicts: dpkg but 1.17.13 is installed.
So I can only conclude that aptitude sees the need to upgrade from .13 to .23 but for some reason it cant 'get out' of the installed dpkg:amd64
View 14 Replies
View Related
Feb 7, 2016
Normally I use apt-get for to upgrade my Debian system. Today i tried to compare apt-get and aptitude with respect to system upgrade. Surprisingly I got different results.
Code: Select allsudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
openjdk-7-jre openjdk-7-jre-headless
The following packages will be upgraded:
libtiff5
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 213 kB of archives.
After this operation, 44.0 kB disk space will be freed.
Code: Select allsudo aptitude safe-upgrade
Resolving dependencies...
The following NEW packages will be installed:
libsctp1{a} lksctp-tools{a}
The following packages will be upgraded:
libtiff5 openjdk-7-jre openjdk-7-jre-headless
3 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.9 MB/45.9 MB of archives. After unpacking 9,130 kB will be used.
What is behind these results? Which method is safer?
View 5 Replies
View Related