1

when I try to install a package by doing

apt-get install abc*

it gives me an error between two packages that

abc-x : | Conflicts: abc-y
E: Unable to correct problems, you have held broken packages.

I would like to exclude abc-x from the regex of my initial command. Is there a way I can accomplish this?

Elder Geek
  • 36,752
Sylar
  • 11

1 Answers1

1

Step 1

Create a package-list with

apt-cache search abc*>package-list

source: How do I search for available packages from the command-line?

Step 2

Install the packages with

cat package-list | xargs sudo apt-get install

source: http://ubuntuforums.org/showthread.php?t=1548121

Elder Geek
  • 36,752