Slackware :: No Packages Match The Pattern For Install?

Aug 10, 2010

seemed to have buggered up installing netbeans on my slackware 13.0 machine. I got the source (the zip file), which i copied into the extracted slackbuild, then did a

Code:
./netbeans.SlackBuild

It all seemed to work fine, at the end it told me my package could be found in /tmp. So i went there and did a

Code: root@slackLap:/tmp# slackpkg install netbeans-6.8-i586-1_SBo.tgz

Looking for netbeans-6.8-i586-1_SBo.tgz in package list. Please wait... DONE

No packages match the pattern for install. Try: /usr/sbin/slackpkg reinstall|upgrade

ps i'm running 32bit slackware 13.0

View 3 Replies


ADVERTISEMENT

General :: Add (not Replacing) A Pattern Match With A Similar Pattern?

Aug 30, 2009

I'm writing a bash script to search html files, and when I find any occurrence of an img src tag like this:

<img src="123-picture-normal.jpg" alt="some random user entered text" border="0">

I want to add a second line below it that looks like:
<img src="123-picture-thumbnail.jpg" alt="some random user entered text" border="0">

All I need to do is duplicate the line but replace "normal" with "thumbnail"

Each file can have multiple img src tags with different numbered jpgs.

I have a feeling this is a job for sed, but I'm struggling with it. Any ideas?

View 2 Replies View Related

General :: Sed Regex To Match Words Via A Pattern

Oct 24, 2010

I have some lines of text and I want to detect words that meet some criteria with sed.

E.g. The line "tetris cat dog test cactus stereotype"

I want to detect the word that contains two (2) ore more t letters. That mean the words tetris, test and stereotype.

The following regex doesn't do the job because it can;t distinguish words very well.

I thinks I have ti incorporate something like [^ ] in the regex but I wasn't successful...

View 3 Replies View Related

General :: Use Sed To Delete All Lines Before First Match Of A Pattern?

Apr 14, 2010

I have to use sed with this problem, and sed is extremely complicated, they could probably teach a whole class on this entire function.

Here's an example to show what I need to do:

Code...

how would I say that every line before I reach the first match of "sweet" should be deleted so that the output will look like: Code...

View 9 Replies View Related

Programming :: Use Of Uninitialized Value In Pattern Match - Perl

Jun 26, 2011

I want to strip the process name from the hosts - i did it with the code below.

I have two questions - is there a more compact way to strip off the process names? usalso i want to get rid of the errors after extracting the hostname. It is complaing about $arry[1]. using my $arry[1] is not allowed. Assigning the slice to a value, as is 'my $sliced_arry = $arry[1]; print $sliced_arry , does not work either.

Code:

Use of uninitialized value in pattern match (m//) at newcomm_stats.pl3 line 7, <NEWCOMM> line 16 here i get what i want - just the host name, but still get those nasty errors. assigning a value to $1 does not work, and localizing $1 with 'my' is not allowed.

Code:

View 4 Replies View Related

General :: Use Sed In Bash To Match Pattern Contained In 2 Lines?

Mar 14, 2011

I have a file called test. It has the following contents.Code:there youI want the output to be.Code:replaced youI am trying to use the sed command to replace every occurance of "hey newline there" with "replaced". I tried the following naive apporach.Code:sed 's/heythere/replace/' testThis gives a result containing the same data as the test file.

View 3 Replies View Related

Programming :: File Renaming Based On A Pattern Match

Jan 8, 2011

What I am attempting to do is rename some television shows into the format that my PVR will understand for the naming convention. I have a script that cleans them up about 95%, now I just cant figure out the last little detail..

For example: NCIS_01.mkv
I think it can be done in sed, but I just figure out how. I need it to be renamed to: NCIS_s01e01.mkv

How can I make sed (or something else) match the last "_" and any numbers after it until the period and then insert text between them reliably?

Depending on the show, it can be something like: This_show_name_243.avi so I need it to be more flexible than I can figure out how to do..

View 6 Replies View Related

Software :: How To Force Yum And Rpm Install Only Current Archetecture Match Packages

Aug 13, 2010

I have 64 bit processor and 64 bit compatible CentOS 5.5 distribution, but some times when I run yum info, I get information about both 32 abd 64 bit installed packages:

For example when I reinstall selinux I see that previously I had both archetecture match packages version:

Reinstalling:

My question is: Is there some rpm or yum configurable option to strict installation to some archetecture, that, that when rpm/yum will try to install package for i386 when it prohibited I will get some error?

View 8 Replies View Related

Slackware :: Install Non Official Packages?

Feb 11, 2011

this one might be simple BUT, where tha heck, I can download some non official software for slackware,I can use installpkg, pkgtool or even gslapt, but WHERE can I download packages or even better set as source for slapt-get.For example two applications: blender 2.49bor due to suckage of craps like mplayer that is installed by default with slackware VLC media player

View 10 Replies View Related

Programming :: Search A File For A Particular Pattern And If Pattern Found Replace The Line With New Text?

Feb 24, 2010

I want to search a file for a particular pattern and if pattern found replace the line with new text. i am using awk 'match($0,"pattern") != 0 {print $0} ' filename to check if the pattern exists.how do i get the line number of the pattern and delete that line and replace the line with my new text?

View 1 Replies View Related

Slackware :: Install Packages From Testing Using Slackpkg?

Apr 8, 2011

How does one install packages from testing using slackpkg or is that possible?

View 4 Replies View Related

Slackware :: How Did Users Install New Packages And Their Libraries

May 28, 2011

I'm reading the 3rd official handbook in beta version and I learn that the automated tool "slackpkg" exists only since Slackware 12.1.Before that, how did users install new packages and their libraries ? Did they search each package with their web browsers and then install manually? For me, it seems tedious because I usually work with distributions like Fedora, Debian which use an online package management.Is there another way to download it from console and without web browser?

View 14 Replies View Related

Programming :: If Statement Pattern Search / End Of Pattern Special Character?

Apr 29, 2010

I have to enhance the behaviour of a backup script written in perl. I don't need to change it, what I need to do is to create a bash script that does some checks like file name and file size, execute the backup script then check if the backup files match the original files.Here's how I try to do it:

- read the files from the original files folder
- store them in an array
- search in the array the files that have a specific file extension
- store the file names that match the search pattern (I know the backup script skips some files so I can hardcode the search pattern)
- run the backup script
- read the files from the backup folder
- store them in an array
- compare the original files name and size stored in an array with those from the backup folder
- send a report email

View 3 Replies View Related

Slackware :: Minimum Packages Required To Install Kde Or Gnome?

May 14, 2010

What are the minimum packages required to install kde or gnome?For kde is it ok?

1.kdebase-runtime
2.kdebase-workspace
3.kdelibs

View 1 Replies View Related

Slackware :: Unable To Upgrade Existing Packages Or Install New Ones?

Mar 23, 2011

I have a brand new Slackware 13.1 x64 installation, and I'm having problems with slapt-get.

I'm unable to upgrade existing packages or install new ones. The output in terminal is:

Code:
bash-4.1# slapt-get -i tar
Reading Package Lists... Done
The following NEW packages will be installed:
tar

[Code]....

Worth mentioning also, I managed to install Gnome from [URL] without any problems immediately prior to this error message starting to appear.

I've been using Debian and Ubuntu derivatives for the last couple of years, so I'm comfortable using the terminal and possibly doing some more advanced stuff.

View 4 Replies View Related

Slackware :: Download And Install The Individual Updated Packages?

Jan 19, 2011

If this is correct, how do you know if there updates available?

Do you need to down load and install the individual updated packages?

Sorry for this but I think that I am confused, or worse, not.

View 14 Replies View Related

Slackware :: Du: Total Does Not Match Detail?

Jan 30, 2011

Kernel: 2.6.21.5, O.S.: GNU/Linux (Slackware 12.0).du (GNU coreutils) 6.9.Sort of a stupid question, maybe. But can you explain this?

Code:
root@foo:~# du -h
8.0K ./.links

[code]....

View 2 Replies View Related

Slackware :: Getting Xorg.conf To Match Monitor

Jan 5, 2010

I am using a AOC 19" LCD on a system with an on board Nvidia GeForce 4 MX and I cannot get X to start with 1280x1024, the max for the monitor.

Here is the sections for xorg.conf

It always defaults to 160x1200, which the monitor proclaims "Out of Range" and I have to in through Display Setings to set to 1280x1024. What do I need to put in xorg.conf to default to 1280x1024.

View 6 Replies View Related

General :: Find Pattern After Specific Pattern

Oct 11, 2010

I want to go through a log file and find pattern1 and then a pattern2 only after pattern 1.So for example I want to know howManyRecords was in 13:30.I figured I grep for "start time for the job" and then only after that (and before the next occurence of that) grep for "howManyRecords". Is this a sane way?

View 1 Replies View Related

Slackware :: Building WINE On Slackware64 Install Eric's Multilib Packages

Jul 19, 2010

I'm getting ready to install Slackware64_13.1 (finally), and I may then install Eric's multilib packages. The slackbuild for Wine at Slackbuilds.org states:

[code]...

has anyone built WINE with the 32-bit compatibility packages? Does it work?

View 12 Replies View Related

Programming :: Match Datetime By The Minute (not An Exact Match By The Second)

Oct 21, 2010

I have the following query:

Code:
$sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";

In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.

Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?

View 1 Replies View Related

Software :: Replace Newline Pattern In File By Other Newline Pattern In A Shell Script?

Nov 22, 2010

I have several (vhdl) files containing a pattern with newline characters that I need to replace by another pattern that also contains newline characters.

I start with something like:

Code:

I want to replace it by something like:

Code:

(I need to paste some lines)

As I need to do this (very) often I want to use a shell script.

I tried:

1.

Code:

result:

Code:

2.

Code:

result:

File remains unchanged

3.

Code:

result:

Code:

4.

Code:

result:

Displays the unchanged testfile

How I can automate the pattern replacement?

Code:

View 9 Replies View Related

Slackware :: Static Libraries - Why Aren't They Shipped In Official Slackware Packages

Aug 12, 2010

I noticed that the official Slackware packages don't contain static libraries. The SlackBuild scripts from slackbuilds.org or from Slackware DVD usually contain --disable-static option to prevent building the .a file. And if configure script doesn't allow such option, the .a file is deleted before the package is created.I am wondering what is the reason for that? Is it just the matter of conserving disk space? Are there also other reasons?

View 11 Replies View Related

Slackware :: Build Several Packages Designed For Slackware 13 At Slackbuilds?

Jan 24, 2010

I tried to build several packages designed for slackware 13 at slackbuilds. Those was a simple apps like ardour, audacity for example.

[Code]...

My CPU is AMD Phenom 9550 Quad core. It supports 64 bit. My os is slackware 13_64. What do I need to change in slackbuild to create a txz package for those apps?

View 14 Replies View Related

Slackware :: Newly Uploaded Slackware Packages?

Sep 5, 2010

I have uploaded some slackware packages to ftp://ftp.herpderp.ca/slackpkg/. These are packages that I haven't been able to find anywhere else and they are all built on a clean slackware 13.0 system using slackbuilds from slackbuilds.org. I will be uploading more in the future as I build them.

View 8 Replies View Related

Ubuntu :: Can't Install Packages On 10.04 - Error Action Requires Installation Of Untrusted Packages

Apr 30, 2010

Whenever I do sudo apt-get or use the Ubuntu Software Center, I can't download anything because a message comes up saying "Action requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources." I've been trying to download GIMP and Thunderbird, so... I dunno what the problem is.

View 8 Replies View Related

OpenSUSE Install :: Upgraded From 11.2 To 11.4 - Switching Systems Packages To PACKMAN Packages

Aug 31, 2011

I just upgraded from 11.2 to 11.4 and the installation/upgrade worked just perfect. I than followed the instructions in the "New User How To/FAQ", "Multimedia and restricted format" post. I was following the instruction in the 11.4 section. I added the additional repositories as explained. I then was on the section where it talks about going into software management and selecting the "Packman" repository and clicking to "switch systems packages" to the versions in this repository (packman). I than click this link and the "warning" screen appears and I am present with conflict resolution after conflict resolution dialog. It just seems that there are some many conflicts, it just seems wrong and I canceled.

The installation/upgrade appears to have worked just fine. My mail is there, audio and dvd play back worked the first try after the upgrade. I am not clear if this is what I should expect or their is something wrong or if I even need to complete this step for a successfully installation.

View 3 Replies View Related

Fedora :: Install Packages From The 14 Dvd Instead Of Downloading From Internet Using Add / Remove Packages

Mar 31, 2011

im using fedora 14 and i have a slow internet connection. i want 2 install some packages from the fedora 14 dvd instead of downloading from internet using add/remove packages. i tried to edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo but it dint work.

View 2 Replies View Related

OpenSUSE Install :: Language Doesn't Match

Aug 3, 2011

I just installed OS 11.4 in my own language; i regularly set it in the options, but it still shows english menus (only firefox is in my own language...)

View 3 Replies View Related

General :: Partitions Do Not Match The Way Configured Them At Install?

Oct 24, 2010

On my last install I put Drive one windows on the first partioncreated a swap partitionlinux on the third partion rive twoLinux on the first partiton Grub found an old windows and made a menu for it So why does sfdisk -l return this? Code: Disk /dev/hda: 19457 cylinders, 255 heads, 63 sectors/trackUnits = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 2549 2550- 20482843+ 7 HPFS/NTFS
/dev/hda2 2550 10388 7839 62966767+ 5 Extended

[code]....

View 9 Replies View Related







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