Reputation
9,565
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
27 41
Newest
 Student
Impact
~781k people reached

Mar
10
comment Input/output error, cannot install anything
You might need to boot from rescue media and fsck your partitions. It's looking like file corruption / filesystem corruption.
Mar
10
comment Input/output error, cannot install anything
Although to be fair, cannot remove '/usr/share/locale/locale.alias': Input/output error looks like that file has issues and maybe you've got filesystem corruption, can you also include the output of ls -l /usr/share/locale/locale.alias / stat /usr/share/locale/locale.alias / file /usr/share/locale/locale.alias and the same for /etc/locale.alias since I think that's where it should point.
Mar
10
comment Input/output error, cannot install anything
And if you try and install locales again? (apt-get install locales - what do you get?)
Mar
10
revised How can I remove just the writable files in a directory, without any prompt?
added 803 characters in body
Mar
10
comment Input/output error, cannot install anything
Can you include the output from dpkg --audit in your original question
Mar
10
reviewed Approve User with UID 0 problem
Mar
10
answered How can I remove just the writable files in a directory, without any prompt?
Mar
10
comment Using /dev/random, /dev/urandom to generate random data
@RuiFRibeiro yes but the original question clearly states they're not worried about the behaviour of /dev/urandom or /dev/random, only how to collect output from it.
Mar
10
answered Using /dev/random, /dev/urandom to generate random data
Mar
10
comment Running JAVA in Cygwin through bash script
Then edit your question with that detail, because right now, that's not what your question is asking.
Mar
10
comment Running JAVA in Cygwin through bash script
Sorry, since you continue to resist adding any useful diagnostic information to your question, you prevent people helping. I'll just go answer someone elses question (I use cygpath myself in plenty of situations, but since we don't know what it's outputting in your instance, we can't help).
Mar
10
comment Remove any occurrence of '-' from a field in shell script
Although the original question isn't clear if -- appears anywhere else, that solution risks replacing every occurrence of -- regardless of where it resides in the file. It would be a little safer to replace ,--, with ,, but even that is risky if it can appear in another field and still be required.
Mar
10
comment Remove any occurrence of '-' from a field in shell script
What do you want to replace the -- with?
Mar
10
comment Running JAVA in Cygwin through bash script
I can't express enough how much more useful it would be for you to edit your original question using this link and adding the output from the command directly into the question, because if the cygpath command is returning the UNIX format, it's not working.
Mar
10
comment Multiple Ubuntu Server Backups
This is an interesting question, but it's got a very broad scope and there are lots of possible answers, which puts it at risk of being closed as too broad or too opinion based. The link you've given is an excellent resource, and I suspect it's the kind of answer you'll see here - lots of options, and you'll need to evaluate which suit you best by experimenting in your environment.
Mar
10
comment Can not build own container
You tell us the error you get and we'll have a shot at telling you the reason. You're going to have to include a lot more diagnostic information in your question.
Mar
10
comment Running JAVA in Cygwin through bash script
So the command, cygpath -w ./cygdrive/driveletter/folder/folder/javafile.jar on its own, with nothing else, gives you that error? Can you copy and paste you typing that command in and the output? In the question. You are using c or d (or something) in place of driveletter, rather than the word driveletter?
Mar
10
answered Running JAVA in Cygwin through bash script
Mar
10
comment Running JAVA in Cygwin through bash script
What does cygpath -w ./cygdrive/driveletter/folder/folder/javafile.jar return if you run it on its own. (Please add the output to your question, not as a comment).
Mar
10
revised How to use cd command in su command?
added 303 characters in body