You are not logged in.

#1 2012-09-10 18:49:45

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Invalid file name error while copying some packages to USB disk.

Hi

I am trying to create my custom local repository by copying all the packages from /var/cache/pacman/pkg to /run/media/anand/SJCE_EEE/custompkgs on my USB storage device. But I get the following errors for some packages:

cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/graphite-1:1.0.3-1-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/hsqldb-java-1:1.8.0.10-2-any.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/libmythes-1:1.2.3-1-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/libshout-1:2.3.0-1-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/phonon-1:4.6.0-2-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/rasqal-1:0.9.29-1-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/redland-1:1.0.15-3-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/redland-storage-virtuoso-1:1.0.15-3-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/vi-1:050325-2-i686.pkg.tar.xz’: Invalid argument
cp: cannot create regular file ‘/run/media/anand/SJCE_EEE/custompkgs/xf86-video-ati-1:6.14.6-1-i686.pkg.tar.xz’: Invalid argument

But other packages copy properly to the USB storage device. If I remove : from the file names of packages mentioned above they copy properly. Is this because of the FAT32 file system on my USB disk?

The above mentioned packages copy properly to my home directory which is ext4 file system.

Any suggestions to correct this?

Thanks in advance.

Anand

Offline

#2 2012-09-10 18:52:37

angelfalls
Member
Registered: 2012-03-26
Posts: 139

Re: Invalid file name error while copying some packages to USB disk.

why don't you mount your usb in /mnt or /media and copy normally?

Offline

#3 2012-09-10 19:00:11

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: Invalid file name error while copying some packages to USB disk.

I am running XFCE and using Thunar while copying. When I connect my USB disk it mounts in /run/media/anand.

Anand

Offline

#4 2012-09-10 19:19:21

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,406
Website

Re: Invalid file name error while copying some packages to USB disk.

What is the filesystem of the USB device?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-09-10 19:24:22

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: Invalid file name error while copying some packages to USB disk.

It is fat32.

Anand

Offline

#6 2012-09-10 19:25:31

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,406
Website

Re: Invalid file name error while copying some packages to USB disk.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2012-09-11 02:51:25

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Invalid file name error while copying some packages to USB disk.

rsamurti, you asked the moderators to do this:

Please remove : from package file names due to the problems reported in this post. Such packages cannot be copied to FAT32 file systems.

This is up to you. Just "Edit" the post by yourself and mark this section deleted. (See the BBCode help for this.)
And please leave an according comment stating something like the quote above there. It would be valuable information.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB