How do I clear Software Center History?












1















I have old software center history from way back in June and I would like to clear it all but I have tried



sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log


ut it did not work










share|improve this question























  • I really need to scare some users from using rm -rf... but anyways, do you really know where the software center logs?

    – Braiam
    Sep 14 '13 at 0:08






  • 1





    Close voters: why is this unclear? He wants to clear the Software Center History (whatever is in the "History" tab).

    – Alaa Ali
    Sep 14 '13 at 7:59











  • Possible duplicate of askubuntu.com/q/214863

    – ændrük
    Sep 14 '13 at 13:21
















1















I have old software center history from way back in June and I would like to clear it all but I have tried



sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log


ut it did not work










share|improve this question























  • I really need to scare some users from using rm -rf... but anyways, do you really know where the software center logs?

    – Braiam
    Sep 14 '13 at 0:08






  • 1





    Close voters: why is this unclear? He wants to clear the Software Center History (whatever is in the "History" tab).

    – Alaa Ali
    Sep 14 '13 at 7:59











  • Possible duplicate of askubuntu.com/q/214863

    – ændrük
    Sep 14 '13 at 13:21














1












1








1








I have old software center history from way back in June and I would like to clear it all but I have tried



sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log


ut it did not work










share|improve this question














I have old software center history from way back in June and I would like to clear it all but I have tried



sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log


ut it did not work







software-center history cleanup






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 13 '13 at 18:43









SeanSean

1612




1612













  • I really need to scare some users from using rm -rf... but anyways, do you really know where the software center logs?

    – Braiam
    Sep 14 '13 at 0:08






  • 1





    Close voters: why is this unclear? He wants to clear the Software Center History (whatever is in the "History" tab).

    – Alaa Ali
    Sep 14 '13 at 7:59











  • Possible duplicate of askubuntu.com/q/214863

    – ændrük
    Sep 14 '13 at 13:21



















  • I really need to scare some users from using rm -rf... but anyways, do you really know where the software center logs?

    – Braiam
    Sep 14 '13 at 0:08






  • 1





    Close voters: why is this unclear? He wants to clear the Software Center History (whatever is in the "History" tab).

    – Alaa Ali
    Sep 14 '13 at 7:59











  • Possible duplicate of askubuntu.com/q/214863

    – ændrük
    Sep 14 '13 at 13:21

















I really need to scare some users from using rm -rf... but anyways, do you really know where the software center logs?

– Braiam
Sep 14 '13 at 0:08





I really need to scare some users from using rm -rf... but anyways, do you really know where the software center logs?

– Braiam
Sep 14 '13 at 0:08




1




1





Close voters: why is this unclear? He wants to clear the Software Center History (whatever is in the "History" tab).

– Alaa Ali
Sep 14 '13 at 7:59





Close voters: why is this unclear? He wants to clear the Software Center History (whatever is in the "History" tab).

– Alaa Ali
Sep 14 '13 at 7:59













Possible duplicate of askubuntu.com/q/214863

– ændrük
Sep 14 '13 at 13:21





Possible duplicate of askubuntu.com/q/214863

– ændrük
Sep 14 '13 at 13:21










1 Answer
1






active

oldest

votes


















0














You were close—Software Center just keeps a cache of the APT history in your home folder. If you need to wipe it:




  1. Delete the APT history log, /var/log/apt/history.log*. (Don't forget the rotated log files.)


  2. Delete the Software Center's pickled cache, ~/.cache/software-center/apthistory.p, from every user's home folder.



I'm not sure why your question was down-voted.






share|improve this answer
























  • Presumably /var/log/dpkg.log is actually used as well.

    – Eliah Kagan
    Sep 14 '13 at 5:14











  • Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

    – ændrük
    Sep 14 '13 at 13:15











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f345222%2fhow-do-i-clear-software-center-history%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














You were close—Software Center just keeps a cache of the APT history in your home folder. If you need to wipe it:




  1. Delete the APT history log, /var/log/apt/history.log*. (Don't forget the rotated log files.)


  2. Delete the Software Center's pickled cache, ~/.cache/software-center/apthistory.p, from every user's home folder.



I'm not sure why your question was down-voted.






share|improve this answer
























  • Presumably /var/log/dpkg.log is actually used as well.

    – Eliah Kagan
    Sep 14 '13 at 5:14











  • Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

    – ændrük
    Sep 14 '13 at 13:15
















0














You were close—Software Center just keeps a cache of the APT history in your home folder. If you need to wipe it:




  1. Delete the APT history log, /var/log/apt/history.log*. (Don't forget the rotated log files.)


  2. Delete the Software Center's pickled cache, ~/.cache/software-center/apthistory.p, from every user's home folder.



I'm not sure why your question was down-voted.






share|improve this answer
























  • Presumably /var/log/dpkg.log is actually used as well.

    – Eliah Kagan
    Sep 14 '13 at 5:14











  • Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

    – ændrük
    Sep 14 '13 at 13:15














0












0








0







You were close—Software Center just keeps a cache of the APT history in your home folder. If you need to wipe it:




  1. Delete the APT history log, /var/log/apt/history.log*. (Don't forget the rotated log files.)


  2. Delete the Software Center's pickled cache, ~/.cache/software-center/apthistory.p, from every user's home folder.



I'm not sure why your question was down-voted.






share|improve this answer













You were close—Software Center just keeps a cache of the APT history in your home folder. If you need to wipe it:




  1. Delete the APT history log, /var/log/apt/history.log*. (Don't forget the rotated log files.)


  2. Delete the Software Center's pickled cache, ~/.cache/software-center/apthistory.p, from every user's home folder.



I'm not sure why your question was down-voted.







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 14 '13 at 4:49









ændrükændrük

42k61195342




42k61195342













  • Presumably /var/log/dpkg.log is actually used as well.

    – Eliah Kagan
    Sep 14 '13 at 5:14











  • Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

    – ændrük
    Sep 14 '13 at 13:15



















  • Presumably /var/log/dpkg.log is actually used as well.

    – Eliah Kagan
    Sep 14 '13 at 5:14











  • Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

    – ændrük
    Sep 14 '13 at 13:15

















Presumably /var/log/dpkg.log is actually used as well.

– Eliah Kagan
Sep 14 '13 at 5:14





Presumably /var/log/dpkg.log is actually used as well.

– Eliah Kagan
Sep 14 '13 at 5:14













Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

– ændrük
Sep 14 '13 at 13:15





Doesn't seem to be used in USC's history, from my brief test and from skimming the code linked above. You'd want to delete it if you were trying to hide having installed something but that's such a tricky topic I don't feel comfortable providing advice here; I'd likely miss something subtle and I don't want to provide a false sense of security.

– ændrük
Sep 14 '13 at 13:15


















draft saved

draft discarded




















































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%2f345222%2fhow-do-i-clear-software-center-history%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

How to make a Squid Proxy server?

第一次世界大戦

Touch on Surface Book