Debian :: Aptitude Command With Word Kobold?

Jun 12, 2010

thought I saw this the other day in the forum as part of a purge command. when I used it the command removed older versions of packages, for example libx264, i had -94 -96 and -98 it removed the 2 older versions. Does anyone know what command I am talking about?

View 1 Replies


ADVERTISEMENT

Debian Installation :: Aptitude Update And Aptitude Install Aptitude?

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

General :: Search Word And Delete Only The Word And The Line Using Sed Command?

Jun 28, 2011

Want to search for ~ and delete it as well as to append the entire line to the above line. For Ex:

1111xxxx date Sandy area is ~around this area.3222xxx date There seems to ~left side of map, the colours are accurate (showing green areas)Even if I ~zoom in, the green parks, xxx3258 date The dammed up
~away, the "other" body of water varies ~blackNatural gas leaching.

IT MUST LOOK LIKE:

1111xxxx date Sandy area is around this area. 3222xxx date There seems to left side of map, the colours are accurate (showing green areas)Even if I zoom in, the green parks, xxx3258 date The dammed up away, the "other" body of water varies blackNatural gas leaching.

View 4 Replies View Related

Debian :: New Stable Update - Command Aptitude Not Found

Feb 7, 2011

Well it didn't go smoothly for me. After downloading over 1,6Gb (!) of that new Debian version and restarting I was 'greeted' by a dreaded CLI instead of gnome. To make matters worse I got "command aptitude not found".
'apt-get' still worked.
Anyway, if you're gonna update check dependencies first. It seems I lost gnome due to gstreamer0.10-gnomevfs. So first uninstall that package if you got it.

View 14 Replies View Related

General :: Sudo Aptitude Update Command Not Found?

May 7, 2011

trying to get wine working was reading the tutorial-

"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-

"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:

Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras

but when i try and run in the terminal i get "command not found".

using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1

View 5 Replies View Related

Programming :: Check Command Line For A Word?

May 23, 2010

I'm building a script for my place of employment. The next step in it is checking what the user input was. Determining if they added a part in there or not. The script prompts for a hostname. Hostnames are localhost.localdomain. Now, I want the script to check to see if they put localdomain and if they did, not to add the domain to the /etc/sysconfig/network, but just what they entered. So say the user inputs:

[Code]....

View 4 Replies View Related

Programming :: Creating A List Of Word Using Tr Command

Jul 11, 2010

I have a file having name test.txt content of which is following My Self is Arvind Kumar.My Date of Birth is 21/07/1984.I am 26 year year old.I did M.Sc Informatics from Delhi University in 2008.I did B.Sc Electronics from Acharya narendra Dev college Delhi University.I did my schooling from DAV Yusuf sarai.Curren tly I am working with InterGolbe Technologies as a Associate software Engineer.I want to be Linux Expert. What I am doing I am creating a list of words,But i want to take B.Sc and M.Sc as a single word

[Code]....

View 5 Replies View Related

General :: Bash: Replace All Occurrences Of A Word In The Last Command

Mar 9, 2011

Almost by mistake, I figured out you could do something like:

$ cp foo.data bar1.data
$ ^bar1^bar2

And that runs the same command with bar2.data instead of bar1.data. Now, how about if I have multiple occurrences of the target word? For example:

$ cp foo.data bar.data
$ ^data^index

It only replaces the first data extension. How do I get it to replace both?

View 1 Replies View Related

General :: Search Word In Group Of Files Using Command?

Oct 10, 2009

i am using openSUSE 10.3 & like to use power of terminal to do tasks.I want to search all files containing word 'echo' in given folder.What should be command.

View 14 Replies View Related

General :: Command To Sort A Text File By The Second Word?

May 14, 2010

What is the command to sort a text file by the second word?

View 4 Replies View Related

Ubuntu :: Media Player Install - Sudo Aptitude Command Not Found

Dec 24, 2010

I recently switched back to ubuntu after a year of gaming on w7, however I think that this time I'm going to stick to ubuntu, if she doesnt screw me like she has the previous times. Anyways, I was just wondering what media players you guys favor, and why? (maybe there doesn't have to be a reason xD), and I tried to install beep media player with:
sudo aptitude install beep-media-player
And the return is: sudo: aptitude: command not found

View 1 Replies View Related

General :: Unix - 'man' Command: Search For A Word/phrase And Cycle Through?

Jun 29, 2011

When looking for a certain word or phrase in the man page of linux command, one can type '/' followed by the word/phrase to search for it. What I'd like to be able to do is to search for the next occurrence of the word/phrase without having to type it out again. Kinda like when you use 'ctrl+f' in a browser to search for a word, and then press 'enter' to find the next occurrence of that word.If this is possible to do, how do I do it?

View 2 Replies View Related

General :: Command To Find A Specific Word In Directories And Subdirectories?

Jun 7, 2010

tell me the command used to find a specific word in directories and sub-directories in linux?

View 4 Replies View Related

Programming :: Read Two Files Word By Word At A Time Using Any Loop By Shell Script?

Mar 4, 2010

Well, I am facing one issue:How can i read two files word by word at a time using any loop as i need word by word comparision in shell script?Please let me know pseudo code.

View 14 Replies View Related

Programming :: Bash Shell Script Read File Word By Word?

Jan 21, 2011

I have a output file look like this:
{"test1" : "test2", "test3" : "test4"},

How can I read word by word in each line?This is not working code:

a=0
while read word
do a=$(($a+1));

[code]...

View 14 Replies View Related

Programming :: Bash Read Input Word For Word ?

May 4, 2010

I am pretty new to bash scripting...I am trying to write a script that will take an input and read it word for word and then DO something with it like echo. I have been able to find how to read word for word from a file but I don't know how to do it with input.

I was looking for something like

Code:

exit 0 The input would be A-Z a-z 0-9 and have a single space between each word.

View 2 Replies View Related

General :: Sed Append Word At End Of Line If Word Is Missing

Feb 19, 2010

I have to modify formsweb.cfg file in Oracle IAS.

Problem description

In formsweb.cfg file are two lines with labels archive_jini= and archive= at the beginning of line. After equal sign (=) is row of filenames of java archives delimited by coma(,). When I insert a new jar file in java directory, I have to append the very same name of jar file to both lines if that name is not yet present.

Example snippet from formsweb.cfg

View 2 Replies View Related

Debian :: Cannot Install Anything Using Aptitude Or Apt-Get?

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

Debian :: Different Functionality In Aptitude And Apt-get?

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

Debian :: Why Aptitude Can't Resolve Conflicts That Apt-get Can

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

Debian :: Aptitude Packages Not Listed?

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

Debian :: Aptitude Not Playing Correctly ?

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

Debian :: What It Means When Aptitude Show 'iB'

Jul 5, 2011

I was running today's udpate and saw this :-

[code]...

View 2 Replies View Related

Debian Installation :: Aptitude Won't Unhold

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

Debian :: System Upgrading With Apt-get And Aptitude

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

Debian :: Getting No Results In Aptitude / Resolve This?

Sep 18, 2010

I've been trying to use aptitude for package management, but nothing happens in response to my commands, even as root.

Let's say for example I want to purge popcon. According to the helpfile, I should start aptitude, become root (or vice-versa), select the package in the list and press '_' (underscore), and then it will be marked with something in the left column and a different color in the list. Then later, another command will actually do the purge.

But nothing happens. It doesn't get marked or change color or anything, and 'g' just gets the message 'No packages are scheduled to be installed, removed, or upgraded.'

What am i doing incorrectly?

View 6 Replies View Related

Debian :: Just Installed - Aptitude Won't Install Anything

Mar 11, 2010

I tried synaptic "aptitude install synaptic". Got this:

[Code]....

View 1 Replies View Related

Debian :: Squeeze: Apt Get And Aptitude Choke

Apr 25, 2010

To:Squeeze penguins who chokes when aptitude (Segmentation fault) Possible reasonThere are several apt packages(.deb). As of Sun Apr 25 09:05:24 UTC 2010. When something screws up, apt-get and aptitude choke. SolutionReinstall one of them by "dpkg -i" At least, I was able to resuscitate my penguin.

View 1 Replies View Related

Debian :: Stopping Aptitude Upgrading A Package?

Jan 29, 2010

I've build a package using dpkg-buildpackage but whenever I run aptitude safe-upgrade it upgrades the package I compiled as well even though it's the same version is there a way to tell it to leave it alone?

View 3 Replies View Related

Debian :: Search For Security Updates Using Aptitude?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved