OpenSUSE :: Unable To Convert DEB To RPM With Alien Due To "Illegal Char"?
Jun 14, 2010i'm try to convert a deb package to rpm and i'm getting this output:
Code:
sudo alien -r -k -c
tar: Record size = 8 blocks
[code]...
i'm try to convert a deb package to rpm and i'm getting this output:
Code:
sudo alien -r -k -c
tar: Record size = 8 blocks
[code]...
is it possible to convert a variable from char * to unsigned char ?
View 5 Replies View RelatedHas anyone found an rpm of awn 0.4 beta or even a deb? (32-bit) Is there any way of taking files from repositories (deb files to be specific) so that I can simply convert them to rpm files using alien?
View 8 Replies View RelatedWe got a big Tripp-Lite SmartOnline UPS in a while ago. Turns out the official Linux support for it is only in Fedora and OpenSUSE. I tried converting the .rpm packages of their management software and ran into the following problems:
Code:
error: cannot open Packages database in /home/jamie/.rpmdb
Tried creating the folder and got:
Code:
error: cannot open Packages database in /home/jamie/.rpmdb
error: cannot open Packages index using db3 - No such file or directory (2)
So no go. It's 64-bit Ubuntu 10.10 and the RPMs are 32-bit. (And I have no idea if the PowerAlert tools will run sans GUI on the servers it will be powering anyway.) Anyone know what's wrong with Alien? I downloaded it from apt and as far as I can tell all the dependencies are in place. Anyone have experience getting PowerAlert to run on Ubuntu? I called their tech support and got the company line, no help there.
I will try nut next, but I'm pesimistic - it had driver issues with the smaller Cyberpower UPSes that the workstations are running on (but Cyberpower at least has working .deb binaries!).
Do I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?
View 5 Replies View RelatedCan anyone please suggest me how can we convert a wide char data in linux which is of 32 bit to a 16bit data. I have a file which has 16bit binary data? Could any one please give me ideas.
View 2 Replies View Relatedm getting the following error when trying to compile:Quote:
$ make
g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"undelete"' -DHAVE_SVDRP -I../../../include undelete.c
[code]...
Programming in C.I have two char arrays.char buf1[1024];char buf2[1024];Aren't buf1 and buf2 also pointers?I read in 1024 bytes into buf1 which contain about 300 bytes of characters with newlines. The data is basically a few English sentences. I'm trying to scan buf1 for newlines and then stop at the 1st newline and copy the rest of the data from that 1st newline into buf2.So I run a for loop to look for that new line.
Code:
for(i=0; i<1024;i++) {
if((strcmp(&buf1[i], "
[code]...
I�m developing c++ application which is run on linux. I have a const wchar_t* which is returned from a method. I have a FILE * _pFile which is open for read/write.I need to write that const wchar_t* to that file. I used fprintf() to write other data types. Can I used fprintf method to do that also? If so how can I covert const wchar_t* to const char*
View 1 Replies View RelatedI am having trouble with the following exception class.
Code:
/**Standard Exception
*
*@description
*@update
*@changes
[code]....
Line 43 points at the snprintf() command.I think the error has to do with the function being virtual and the const after the function definition, however although I have been looking really hard I have not being able to find the reason nor the solution to the problem.
One workaround that I know is moving the block of source withing the virtual function, in the constructor, however having read around (boost library exceptions tutorials) it specifically said that formating of errors messages should not take place withing the construction of objects because we are risking throwing an exceptions and messing up the flow order.
i define variable of type char (range -128 to 127). when i tried to print the value after assigning a -ve value to it it displaying a +ve value of that -ve value(256+value).
View 3 Replies View RelatedWith this I may remove the last emtpy char which is not visible, coming from net, windows, ...
Code:
echo "$mystringwindowsorotherwithemptylastchar" |sed s/.$//
However if there are not then it makes a problem and delete effectively an existing char.
Code:
echo "klklj" |sed s/.$//
klkl
Anyone would have a solution for SH?
I have trouble converting a short array to a char array
Code:
short pShort[4] = { 0x41, 0x42, 0x43, 0x44 };
How to convert this to a char array?
I am trying to use 'convert' in command prompt to convert image file format.I get the following error.
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies View RelatedTomorrow I decided to dedicate 100% of my disk to opensuse! So I backed up the files from the remaining windows partition, deleted them and expanded the /home partition. Well, I ran into some problems during first boot. I referred to an article at the wiki and fixed it. Although I did some small fixing manually at the fstab file. The system booted! But I can't browse anywhere outside the local network! At this forum I found some info regarding the dmesg |tail command. Here is my output:
biduzido@biduNote:~> dmesg |tail
[ 1256.061852] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1256.061865] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 1256.061873] sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
[ 1256.061882] end_request: I/O error, dev sr0, sector 0
[ 1256.061890] Buffer I/O error on device sr0, logical block 0
[ 1256.062662] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1256.062672] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 1256.062682] sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
[ 1256.062690] end_request: I/O error, dev sr0, sector 0
[ 1256.062697] Buffer I/O error on device sr0, logical block 0
1. lp file_with_english_chinese2. lp -ozh_CN.utf8 file_with_english_chineseThe normal ascii characer prints ok but the chinese character are blank.
View 4 Replies View RelatedI've never programed shell scripting.
Code goes like so:
I simply want to read a file "data.txt" line by line Then char by char and add them into a result var. The file is supossed to always contain numeric values
I need help locating a rpm package called "alien". This is to work with "deb" as shown available in Software Management.
View 2 Replies View RelatedI want to be able to convert SWF files to AVI or MP4.FFMPEG will not do it so don't even mention it.WinFF won't work either.
View 5 Replies View RelatedI have a MKV file and need to convert it down to XVID to allow some of my other streamers to use the file. However, when I try I get the following errors:
Quote:
Too many audio packets in the buffer: (4103 in 8255236 bytes)
and
Quote:
Maybe you are playing a non-interleaved stream/file or the codec failed?2:128] For AVI files, try to force non-interleaved mode with the -ni option.
The file details are :
Quote:
General
Complete name : Test 1080p.mkv
Format : Matroska
File size : 10.9 GiB
[code]....
and the command I am using to run the conversion is:
Quote:
mencoder "Test 1080p.mkv" -channels 6 -ovc xvid -oac mp3lame -xvidencopts pass=1 -o /dev/null -lameopts cbr:br=128
I presume that it has something to do with the 6 channel DTS audio and the conversion to mp3 because if I change the command to just copy the audio all progresses fine.
I emailed myself a video. I took with my ipod touch, and its in .mov format which ubuntu doesn't support. I have an app called arista transcoder (a little slow, but very handy), which, for some reason, isn't able to convert the video. its strange because I was able to convert a few other videos from my ipod (same format) into .avi files last week. Arista says something about an unrecognized media type.
View 1 Replies View RelatedI just upgraded Fedora 10 to Fedora 11. When I rebooted I just had a flashing cursor. So I typed Ctrl-Alt-F2 to open a console window on booting. That worked fine. I was going to edit xorg.conf because I suspected the problem was related to haveing installed the latest Linux NVIDIA drivers (and custom kernal) in Fedora 10 before upgrading to Fedora 11. But, I decided to edit the run level in /etc/inittab first. Unfortunately, I fat fingered run level 3 to runlevel 333. No when booting I get hung up with the error "telinit: illegal run level 333". When I try to use Ctrl-Alt-F2 to open a console window on booting now it doesn't work. How to get into a console window with this error?
View 1 Replies View RelatedI've been trying to install the latest updates on my Ubuntu 10.10 system but keep getting the same error in Update Manager and the terminal:
Code:
dpkg: file triggers record mentions illegal package name I've tried running sudo dpkg --configure -a and sudo apt-get upgrade -f after running sudo apt-get update but to no avail.
After searching the forum and google I haven't been able to find this issue or a solution to a similar issue that works for my problem.
I have a SUSE mail server where I have user names like john.doe. And so the email address looks like [URL]..Now I move the server to slackware and I cannot create such users, it shows the error (I use adduser command): User 'john.doe' contains illegal characters (period/dot); please choose another What can be the best (simplest) solution to preserve my email addresses as they are. I also would like to preserve the user-names used for email authentication, because there are lot of mail user clients already using those logins. What is the point in that the dot is illegal in user names? I guess that there is a good reason to this but I would like to know what it is.
View 3 Replies View RelatedI just downloaded Play On Linux to my computer. I saw that I could install Microsoft Office 2007, and wondered ho that was legal, so I clicked on it. An install wizard came up and said, we are not in charge for anything that happens.
View 3 Replies View Relatedmy firefox has been crashing since yesterday and when i tried to run yum update it gives me error: illegal instruction (core dumped)
View 7 Replies View RelatedI want to search a bunch of files in Ubuntu to find the ones that have file names which Windows won't allow. There is too many to do it manually.
View 1 Replies View RelatedWhat is the problem? I receive this message (see in red) when i running this script (below) on bash script file:
error received:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 70 0 70 0 0 321 0 --:--:-- --:--:-- --:--:-- 0
IMAG_DOS.ZIP
[code]....
ntop installed on CentOS5 system running as squid using yum. Starting ntop on command line and not as daemon and gives error for illegal filter.
Code:
Fri Aug 20 14:10:12 2010 NOTE: Interface merge enabled by default
Fri Aug 20 14:10:12 2010 Initializing gdbm databases
[code]....