Reinstalling broken xterm (Ubuntu 18.04) The 2019 Stack Overflow Developer Survey Results Are In“Can't cd to /var/cache/flashplugin-installer” error when I try to install FlashProblem installing apache2How to Remove varicad2013-en (A Virus or PIA)mysql-server-5.5 ErrorI get “dpkg error” when I try to install anythingError While removing corrupted mysqldpkg: error processing package sendmail-basedpkg error processing packageInstalling RabbitMQ on Ubuntu 14.04 getting following error can anyone give solution?dpkg: error processing package postfix (--configure):

Falsification in Math vs Science

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Are there incongruent pythagorean triangles with the same perimeter and same area?

Can a flute soloist sit?

Loose spokes after only a few rides

Shouldn't "much" here be used instead of "more"?

Can one be advised by a professor who is very far away?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

If a Druid sees an animal’s corpse, can they wild shape into that animal?

Where to refill my bottle in India?

Did 3000BC Egyptians use meteoric iron weapons?

Did Section 31 appear in Star Trek: The Next Generation?

Apparent duplicates between Haynes service instructions and MOT

Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?

The difference between dialogue marks

Right tool to dig six foot holes?

Is three citations per paragraph excessive for undergraduate research paper?

Am I thawing this London Broil safely?

Have you ever entered Singapore using a different passport or name?

How to manage monthly salary

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Origin of "cooter" meaning "vagina"

Aging parents with no investments

FPGA - DIY Programming



Reinstalling broken xterm (Ubuntu 18.04)



The 2019 Stack Overflow Developer Survey Results Are In“Can't cd to /var/cache/flashplugin-installer” error when I try to install FlashProblem installing apache2How to Remove varicad2013-en (A Virus or PIA)mysql-server-5.5 ErrorI get “dpkg error” when I try to install anythingError While removing corrupted mysqldpkg: error processing package sendmail-basedpkg error processing packageInstalling RabbitMQ on Ubuntu 14.04 getting following error can anyone give solution?dpkg: error processing package postfix (--configure):



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















So, my problem is that after a series of problems (which I'll describe bellow) I have a damage xterm package, which now always shows an error when installing new packages, updating, etc.



It all started with me running out of space on root, dpkg damaging, followed by GUI not being able to boot. I fixed it with via root shell via GRUB by freeing some space. Now I can log into system and use it just fine, except when I want to install some package I get this error at the end:



dpkg: error processing package xterm (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
xterm
(sometimes followed by this) E: Sub-process /usr/bin/dpkg returned an error code (1)


I tried installing, reinstalling and removing it, but it always says that the package is damaged, you can't do this or that as long as it's damaged.



So how do I fix this? As far as I know I don't need xterm, so if the safest solution would be to kill it, then I won't miss, just tell me how.



Thanks in advance!










share|improve this question









New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please always include the complete command outputs in your question. The small extracts you provided don't give enough information to see what exactly is going on. What exactly does it say when you sudo apt install --reinstall xterm?

    – Byte Commander
    2 days ago











  • @ByteCommander, actually I haven't tried the --reinstall option, because I'm somewhat new to solving this kind of issues, I didn't know about it and just tried other stuff I seen on different problem discussions. This actually seems to have worked, so thank you a lot!

    – BasilShim
    2 days ago


















0















So, my problem is that after a series of problems (which I'll describe bellow) I have a damage xterm package, which now always shows an error when installing new packages, updating, etc.



It all started with me running out of space on root, dpkg damaging, followed by GUI not being able to boot. I fixed it with via root shell via GRUB by freeing some space. Now I can log into system and use it just fine, except when I want to install some package I get this error at the end:



dpkg: error processing package xterm (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
xterm
(sometimes followed by this) E: Sub-process /usr/bin/dpkg returned an error code (1)


I tried installing, reinstalling and removing it, but it always says that the package is damaged, you can't do this or that as long as it's damaged.



So how do I fix this? As far as I know I don't need xterm, so if the safest solution would be to kill it, then I won't miss, just tell me how.



Thanks in advance!










share|improve this question









New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please always include the complete command outputs in your question. The small extracts you provided don't give enough information to see what exactly is going on. What exactly does it say when you sudo apt install --reinstall xterm?

    – Byte Commander
    2 days ago











  • @ByteCommander, actually I haven't tried the --reinstall option, because I'm somewhat new to solving this kind of issues, I didn't know about it and just tried other stuff I seen on different problem discussions. This actually seems to have worked, so thank you a lot!

    – BasilShim
    2 days ago














0












0








0








So, my problem is that after a series of problems (which I'll describe bellow) I have a damage xterm package, which now always shows an error when installing new packages, updating, etc.



It all started with me running out of space on root, dpkg damaging, followed by GUI not being able to boot. I fixed it with via root shell via GRUB by freeing some space. Now I can log into system and use it just fine, except when I want to install some package I get this error at the end:



dpkg: error processing package xterm (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
xterm
(sometimes followed by this) E: Sub-process /usr/bin/dpkg returned an error code (1)


I tried installing, reinstalling and removing it, but it always says that the package is damaged, you can't do this or that as long as it's damaged.



So how do I fix this? As far as I know I don't need xterm, so if the safest solution would be to kill it, then I won't miss, just tell me how.



Thanks in advance!










share|improve this question









New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












So, my problem is that after a series of problems (which I'll describe bellow) I have a damage xterm package, which now always shows an error when installing new packages, updating, etc.



It all started with me running out of space on root, dpkg damaging, followed by GUI not being able to boot. I fixed it with via root shell via GRUB by freeing some space. Now I can log into system and use it just fine, except when I want to install some package I get this error at the end:



dpkg: error processing package xterm (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
xterm
(sometimes followed by this) E: Sub-process /usr/bin/dpkg returned an error code (1)


I tried installing, reinstalling and removing it, but it always says that the package is damaged, you can't do this or that as long as it's damaged.



So how do I fix this? As far as I know I don't need xterm, so if the safest solution would be to kill it, then I won't miss, just tell me how.



Thanks in advance!







apt package-management dpkg xterm






share|improve this question









New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago







BasilShim













New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









BasilShimBasilShim

33




33




New contributor




BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






BasilShim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Please always include the complete command outputs in your question. The small extracts you provided don't give enough information to see what exactly is going on. What exactly does it say when you sudo apt install --reinstall xterm?

    – Byte Commander
    2 days ago











  • @ByteCommander, actually I haven't tried the --reinstall option, because I'm somewhat new to solving this kind of issues, I didn't know about it and just tried other stuff I seen on different problem discussions. This actually seems to have worked, so thank you a lot!

    – BasilShim
    2 days ago


















  • Please always include the complete command outputs in your question. The small extracts you provided don't give enough information to see what exactly is going on. What exactly does it say when you sudo apt install --reinstall xterm?

    – Byte Commander
    2 days ago











  • @ByteCommander, actually I haven't tried the --reinstall option, because I'm somewhat new to solving this kind of issues, I didn't know about it and just tried other stuff I seen on different problem discussions. This actually seems to have worked, so thank you a lot!

    – BasilShim
    2 days ago

















Please always include the complete command outputs in your question. The small extracts you provided don't give enough information to see what exactly is going on. What exactly does it say when you sudo apt install --reinstall xterm?

– Byte Commander
2 days ago





Please always include the complete command outputs in your question. The small extracts you provided don't give enough information to see what exactly is going on. What exactly does it say when you sudo apt install --reinstall xterm?

– Byte Commander
2 days ago













@ByteCommander, actually I haven't tried the --reinstall option, because I'm somewhat new to solving this kind of issues, I didn't know about it and just tried other stuff I seen on different problem discussions. This actually seems to have worked, so thank you a lot!

– BasilShim
2 days ago






@ByteCommander, actually I haven't tried the --reinstall option, because I'm somewhat new to solving this kind of issues, I didn't know about it and just tried other stuff I seen on different problem discussions. This actually seems to have worked, so thank you a lot!

– BasilShim
2 days ago











1 Answer
1






active

oldest

votes


















0














Apparently, according to the comment reply, all that needed to be run was



sudo apt install --reinstall xterm





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    BasilShim is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132143%2freinstalling-broken-xterm-ubuntu-18-04%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Apparently, according to the comment reply, all that needed to be run was



    sudo apt install --reinstall xterm





    share|improve this answer



























      0














      Apparently, according to the comment reply, all that needed to be run was



      sudo apt install --reinstall xterm





      share|improve this answer

























        0












        0








        0







        Apparently, according to the comment reply, all that needed to be run was



        sudo apt install --reinstall xterm





        share|improve this answer













        Apparently, according to the comment reply, all that needed to be run was



        sudo apt install --reinstall xterm






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        Byte CommanderByte Commander

        66.5k27181310




        66.5k27181310




















            BasilShim is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            BasilShim is a new contributor. Be nice, and check out our Code of Conduct.












            BasilShim is a new contributor. Be nice, and check out our Code of Conduct.











            BasilShim is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132143%2freinstalling-broken-xterm-ubuntu-18-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü