Original File got deleted after iso upgrade

General support questions
Post Reply
Mughilavan
Posts: 1
Joined: 2021/02/10 05:51:36

Original File got deleted after iso upgrade

Post by Mughilavan » 2021/02/10 11:20:02

File got deleted after iso upgrade.

I am having one file called test.txt which was bundled in test.rpm. I have installed the rpm as follows,

install -m /tmp/test.txt /tmp/test.txt.in

After the upgrade only test.txt.in file present. The original file test.txt got deleted. But I want the original file test.txt.
How to retain the original file test.txt?

User avatar
TrevorH
Forum Moderator
Posts: 30314
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Original File got deleted after iso upgrade

Post by TrevorH » 2021/02/10 12:37:38

None of that makes any sense. Rpms don't get installed with the 'install' command.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

sml
Posts: 221
Joined: 2020/01/17 09:01:44

Re: Original File got deleted after iso upgrade

Post by sml » 2021/02/10 17:04:34

Moreover, the install command doesn't make sense on its own either. It would fail if specified like this.

User avatar
jlehtone
Posts: 3335
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Original File got deleted after iso upgrade

Post by jlehtone » 2021/02/10 22:09:50

What is "iso upgrade" anyway?

Post Reply

Return to “CentOS 7 - General Support”